bellow is andriod studio default task list in right Gradle projects panel: assemble assembleAndroidTest assembleDebug assembleRelease build buildDependents buildNeeded compileDebugAndroidTestSources compileDebugSources compileDebugUnitTestSources compileReleaseSources compileReleaseUnitTestSources mockableAndroidJar bellow is android studio task,if your are so intelligent,your may known how get the easily answer from android studio ide. By the way,I will simply tell how write build task depends on parameters, if android studio output like:":app:generateDebugSources",your can reference it in app self project by: task yourtaskname(dependsOn:['generateDebugSources']) ,if in other proejct,your can reference it by: task yourtaskname(dependsOn:[':app:generateDebugSources']) bellow is default build output log: Executing tasks: [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:compileDebugSourc...