Gradle task 命令

Gradle task命令

Android tasks

-------------
androidDependencies - Displays the Android dependencies of the project.
signingReport - Displays the signing info for each variant.
sourceSets - Prints out all the source sets defined in this project.


Build tasks
-----------
assemble - Assembles all variants of all applications and secondary packages.
assembleAndroidTest - Assembles all the Test applications.
assembleDebug - Assembles all Debug builds.
assembleDianxin - Assembles all Dianxin builds.
assembleOffline - Assembles all Offline builds.
assembleRelease - Assembles all Release builds.
assembleSimple - Assembles all Simple builds.
assembleSmOffline - Assembles all SmOffline builds.
assembleSmOnline - Assembles all SmOnline builds.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
compileDianxinDebugAndroidTestSources
compileDianxinDebugSources
compileDianxinDebugUnitTestSources
compileDianxinReleaseSources
compileDianxinReleaseUnitTestSources
compileOfflineDebugAndroidTestSources
compileOfflineDebugSources
compileOfflineDebugUnitTestSources
compileOfflineReleaseSources
compileOfflineReleaseUnitTestSources
compileSimpleDebugAndroidTestSources
compileSimpleDebugSources
compileSimpleDebugUnitTestSources
compileSimpleReleaseSources
compileSimpleReleaseUnitTestSources
compileSmOfflineDebugAndroidTestSources
compileSmOfflineDebugSources
compileSmOfflineDebugUnitTestSources
compileSmOfflineReleaseSources
compileSmOfflineReleaseUnitTestSources
compileSmOnlineDebugAndroidTestSources
compileSmOnlineDebugSources
compileSmOnlineDebugUnitTestSources
compileSmOnlineReleaseSources
compileSmOnlineReleaseUnitTestSources
mockableAndroidJar - Creates a version of android.jar that's suitable for unit tests.


Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating]
wrapper - Generates Gradle wrapper files. [incubating]


Help tasks
----------
components - Displays the components produced by root project 'aaa'. [incubating]
dependencies - Displays all dependencies declared in root project 'aaa'.
dependencyInsight - Displays the insight into a specific dependency in root project 'aaa'.
help - Displays a help message.
model - Displays the configuration model of root project 'aaa'. [incubating]
projects - Displays the sub-projects of root project 'aaa'.
properties - Displays the properties of root project 'aaa'.
tasks - Displays the tasks runnable from root project 'aaa' (some of the displayed tasks may belong to subprojects).


Install tasks
-------------
installDianxinDebug - Installs the DebugDianxin build.
installDianxinDebugAndroidTest - Installs the android (on device) tests for the DianxinDebug build.
installOfflineDebug - Installs the DebugOffline build.
installOfflineDebugAndroidTest - Installs the android (on device) tests for the OfflineDebug build.
installSimpleDebug - Installs the DebugSimple build.
installSimpleDebugAndroidTest - Installs the android (on device) tests for the SimpleDebug build.
installSmOfflineDebug - Installs the DebugSmOffline build.
installSmOfflineDebugAndroidTest - Installs the android (on device) tests for the SmOfflineDebug build.
installSmOnlineDebug - Installs the DebugSmOnline build.
installSmOnlineDebugAndroidTest - Installs the android (on device) tests for the SmOnlineDebug build.
uninstallAll - Uninstall all applications.
uninstallDianxinDebug - Uninstalls the DebugDianxin build.
uninstallDianxinDebugAndroidTest - Uninstalls the android (on device) tests for the DianxinDebug build.
uninstallDianxinRelease - Uninstalls the ReleaseDianxin build.
uninstallOfflineDebug - Uninstalls the DebugOffline build.
uninstallOfflineDebugAndroidTest - Uninstalls the android (on device) tests for the OfflineDebug build.
uninstallOfflineRelease - Uninstalls the ReleaseOffline build.
uninstallSimpleDebug - Uninstalls the DebugSimple build.
uninstallSimpleDebugAndroidTest - Uninstalls the android (on device) tests for the SimpleDebug build.
uninstallSimpleRelease - Uninstalls the ReleaseSimple build.
uninstallSmOfflineDebug - Uninstalls the DebugSmOffline build.
uninstallSmOfflineDebugAndroidTest - Uninstalls the android (on device) tests for the SmOfflineDebug build.
uninstallSmOfflineRelease - Uninstalls the ReleaseSmOffline build.
uninstallSmOnlineDebug - Uninstalls the DebugSmOnline build.
uninstallSmOnlineDebugAndroidTest - Uninstalls the android (on device) tests for the SmOnlineDebug build.
uninstallSmOnlineRelease - Uninstalls the ReleaseSmOnline build.


Verification tasks
------------------
check - Runs all checks.
clean - Deletes the build directory.
connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.
connectedCheck - Runs all device checks on currently connected devices.
connectedDianxinDebugAndroidTest - Installs and runs the tests for dianxinDebug on connected devices.
connectedOfflineDebugAndroidTest - Installs and runs the tests for offlineDebug on connected devices.
connectedSimpleDebugAndroidTest - Installs and runs the tests for simpleDebug on connected devices.
connectedSmOfflineDebugAndroidTest - Installs and runs the tests for smOfflineDebug on connected devices.
connectedSmOnlineDebugAndroidTest - Installs and runs the tests for smOnlineDebug on connected devices.
deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
deviceCheck - Runs all device checks using Device Providers and Test Servers.
lint - Runs lint on all variants.
lintDianxinDebug - Runs lint on the DianxinDebug build.
lintDianxinRelease - Runs lint on the DianxinRelease build.
lintOfflineDebug - Runs lint on the OfflineDebug build.
lintOfflineRelease - Runs lint on the OfflineRelease build.
lintSimpleDebug - Runs lint on the SimpleDebug build.
lintSimpleRelease - Runs lint on the SimpleRelease build.
lintSmOfflineDebug - Runs lint on the SmOfflineDebug build.
lintSmOfflineRelease - Runs lint on the SmOfflineRelease build.
lintSmOnlineDebug - Runs lint on the SmOnlineDebug build.
lintSmOnlineRelease - Runs lint on the SmOnlineRelease build.
test - Run unit tests for all variants.
testDianxinDebugUnitTest - Run unit tests for the dianxinDebug build.
testDianxinReleaseUnitTest - Run unit tests for the dianxinRelease build.
testOfflineDebugUnitTest - Run unit tests for the offlineDebug build.
testOfflineReleaseUnitTest - Run unit tests for the offlineRelease build.
testSimpleDebugUnitTest - Run unit tests for the simpleDebug build.
testSimpleReleaseUnitTest - Run unit tests for the simpleRelease build.
testSmOfflineDebugUnitTest - Run unit tests for the smOfflineDebug build.
testSmOfflineReleaseUnitTest - Run unit tests for the smOfflineRelease build.
testSmOnlineDebugUnitTest - Run unit tests for the smOnlineDebug build.
testSmOnlineReleaseUnitTest - Run unit tests for the smOnlineRelease build.


Other tasks
-----------
jarDianxinDebugClasses
jarDianxinReleaseClasses
jarOfflineDebugClasses
jarOfflineReleaseClasses
jarSimpleDebugClasses
jarSimpleReleaseClasses
jarSmOfflineDebugClasses
jarSmOfflineReleaseClasses
jarSmOnlineDebugClasses
jarSmOnlineReleaseClasses
transformResourcesWithMergeJavaResForDianxinDebugUnitTest
transformResourcesWithMergeJavaResForDianxinReleaseUnitTest
transformResourcesWithMergeJavaResForOfflineDebugUnitTest
transformResourcesWithMergeJavaResForOfflineReleaseUnitTest
transformResourcesWithMergeJavaResForSimpleDebugUnitTest
transformResourcesWithMergeJavaResForSimpleReleaseUnitTest
transformResourcesWithMergeJavaResForSmOfflineDebugUnitTest
transformResourcesWithMergeJavaResForSmOfflineReleaseUnitTest
transformResourcesWithMergeJavaResForSmOnlineDebugUnitTest
transformResourcesWithMergeJavaResForSmOnlineReleaseUnitTest


To see all tasks and more detail, run gradle tasks --all


To see more detail about a task, run gradle help --task <task>


BUILD SUCCESSFUL


Total time: 5.971 secs


This build could be faster, please consider using the Gradle Daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值