Adding gradle formula