Tuesday, October 20, 2015
android studio build.gradle default task list simple draft
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:compileDebugSources, :app:compileDebugAndroidTestSources, :benshoujisdk:generateDebugSources, :benshoujisdk:generateDebugAndroidTestSources, :benshoujisdk:compileDebugSources, :benshoujisdk:compileDebugAndroidTestSources, :benshoujisdkdemo:generateDebugSources, :benshoujisdkdemo:generateDebugAndroidTestSources, :benshoujisdkdemo:compileDebugSources, :benshoujisdkdemo:compileDebugAndroidTestSources, :dynamicloadapklib:generateDebugSources, :dynamicloadapklib:generateDebugAndroidTestSources, :dynamicloadapklib:compileDebugSources, :dynamicloadapklib:compileDebugAndroidTestSources, :sdkbase:generateDebugSources, :sdkbase:generateDebugAndroidTestSources, :sdkbase:compileDebugSources, :sdkbase:compileDebugAndroidTestSources, :sdkproxy:generateDebugSources, :sdkproxy:generateDebugAndroidTestSources, :sdkproxy:compileDebugSources, :sdkproxy:compileDebugAndroidTestSources]
Configuration on demand is an incubating feature.
:clean
:app:clean
:benshoujisdk:clean
:benshoujisdkdemo:clean
:dynamicloadapklib:clean
:sdkbase:clean
:sdkproxy:clean
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareDebugAndroidTestDependencies
:app:compileDebugAndroidTestAidl
:app:processDebugAndroidTestManifest
:app:compileDebugAndroidTestRenderscript
:app:generateDebugAndroidTestBuildConfig
:app:generateDebugAndroidTestAssets UP-TO-DATE
:app:mergeDebugAndroidTestAssets
:app:generateDebugAndroidTestResValues UP-TO-DATE
:app:generateDebugAndroidTestResources
:app:mergeDebugAndroidTestResources
:app:processDebugAndroidTestResources
:app:generateDebugAndroidTestSources
:app:processDebugJavaRes UP-TO-DATE
:app:compileDebugJavaWithJavac
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources
:app:processDebugAndroidTestJavaRes UP-TO-DATE
:app:compileDebugAndroidTestJavaWithJavac
:app:compileDebugAndroidTestNdk UP-TO-DATE
:app:compileDebugAndroidTestSources
:benshoujisdk:preBuild UP-TO-DATE
:benshoujisdk:preDebugBuild UP-TO-DATE
:benshoujisdk:checkDebugManifest
:benshoujisdk:preDebugAndroidTestBuild UP-TO-DATE
:benshoujisdk:preDebugUnitTestBuild UP-TO-DATE
:benshoujisdk:preReleaseBuild UP-TO-DATE
:benshoujisdk:preReleaseUnitTestBuild UP-TO-DATE
:sdkbase:compileLint
:sdkbase:copyReleaseLint UP-TO-DATE
:sdkbase:mergeReleaseProguardFiles UP-TO-DATE
:sdkbase:preBuild UP-TO-DATE
:sdkbase:preReleaseBuild UP-TO-DATE
:sdkbase:checkReleaseManifest
:sdkbase:prepareReleaseDependencies
:sdkbase:compileReleaseAidl
:sdkbase:compileReleaseRenderscript
:sdkbase:generateReleaseBuildConfig
:sdkbase:generateReleaseAssets UP-TO-DATE
:sdkbase:mergeReleaseAssets
:sdkbase:generateReleaseResValues UP-TO-DATE
:sdkbase:generateReleaseResources
:sdkbase:packageReleaseResources
:sdkbase:processReleaseManifest
:sdkbase:processReleaseResources
:sdkbase:generateReleaseSources
:sdkbase:processReleaseJavaRes UP-TO-DATE
:sdkbase:compileReleaseJavaWithJavac
:sdkbase:packageReleaseJar
:sdkbase:compileReleaseNdk UP-TO-DATE
:sdkbase:packageReleaseJniLibs UP-TO-DATE
:sdkbase:packageReleaseLocalJar UP-TO-DATE
:sdkbase:packageReleaseRenderscript UP-TO-DATE
:sdkbase:bundleRelease
:benshoujisdk:prepareSdkAndroidStudioSdkbaseUnspecifiedLibrary
:benshoujisdk:prepareDebugDependencies
:benshoujisdk:compileDebugAidl
:benshoujisdk:compileDebugRenderscript
:benshoujisdk:generateDebugBuildConfig
:benshoujisdk:generateDebugAssets UP-TO-DATE
:benshoujisdk:mergeDebugAssets
:benshoujisdk:generateDebugResValues UP-TO-DATE
:benshoujisdk:generateDebugResources
:benshoujisdk:mergeDebugResources
:benshoujisdk:processDebugManifest
:benshoujisdk:processDebugResources
:benshoujisdk:generateDebugSources
:benshoujisdk:prepareDebugAndroidTestDependencies
:benshoujisdk:compileDebugAndroidTestAidl
:benshoujisdk:compileLint
:benshoujisdk:copyDebugLint UP-TO-DATE
:benshoujisdk:mergeDebugProguardFiles UP-TO-DATE
:benshoujisdk:processDebugJavaRes UP-TO-DATE
:benshoujisdk:compileDebugJavaWithJavac
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:benshoujisdk:packageDebugJar
:benshoujisdk:compileDebugNdk UP-TO-DATE
:benshoujisdk:packageDebugJniLibs
:benshoujisdk:packageDebugLocalJar
:benshoujisdk:packageDebugRenderscript UP-TO-DATE
:benshoujisdk:packageDebugResources
:benshoujisdk:bundleDebug
:benshoujisdk:compileDebugSources
:benshoujisdk:assembleDebug
:benshoujisdk:processDebugAndroidTestManifest
:benshoujisdk:compileDebugAndroidTestRenderscript
:benshoujisdk:generateDebugAndroidTestBuildConfig
:benshoujisdk:generateDebugAndroidTestAssets UP-TO-DATE
:benshoujisdk:mergeDebugAndroidTestAssets
:benshoujisdk:generateDebugAndroidTestResValues UP-TO-DATE
:benshoujisdk:generateDebugAndroidTestResources
:benshoujisdk:mergeDebugAndroidTestResources
:benshoujisdk:processDebugAndroidTestResources
:benshoujisdk:generateDebugAndroidTestSources
:benshoujisdk:processDebugAndroidTestJavaRes UP-TO-DATE
:benshoujisdk:compileDebugAndroidTestJavaWithJavac
:benshoujisdk:compileDebugAndroidTestNdk UP-TO-DATE
:benshoujisdk:compileDebugAndroidTestSources
:benshoujisdkdemo:preBuild UP-TO-DATE
:benshoujisdkdemo:preDebugBuild UP-TO-DATE
:benshoujisdkdemo:checkDebugManifest
:benshoujisdk:copyReleaseLint UP-TO-DATE
:benshoujisdk:mergeReleaseProguardFiles UP-TO-DATE
:benshoujisdk:compileReleaseNdk UP-TO-DATE
:benshoujisdk:packageReleaseJniLibs
:benshoujisdk:packageReleaseRenderscript UP-TO-DATE
:benshoujisdk:checkReleaseManifest
:benshoujisdk:prepareReleaseDependencies
:benshoujisdk:compileReleaseRenderscript
:benshoujisdk:generateReleaseResValues UP-TO-DATE
:benshoujisdk:generateReleaseResources
:benshoujisdk:packageReleaseResources
:benshoujisdk:compileReleaseAidl
:benshoujisdk:generateReleaseBuildConfig
:benshoujisdk:generateReleaseAssets UP-TO-DATE
:benshoujisdk:mergeReleaseAssets
:benshoujisdk:mergeReleaseResources
:benshoujisdk:processReleaseManifest
:benshoujisdk:processReleaseResources
:benshoujisdk:generateReleaseSources
:benshoujisdk:processReleaseJavaRes UP-TO-DATE
:benshoujisdk:compileReleaseJavaWithJavac
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:benshoujisdk:proguardRelease
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment