android gradle command

来源:互联网 发布:淘宝海淘真假 编辑:程序博客网 时间:2024/05/21 16:51

在工程目录下执行:

gradle tasks

输出如下:

Android tasks-------------androidDependencies - Displays the Android dependencies of the project.signingReport - Displays the signing info for each variant.Build tasks-----------assemble - Assembles all variants of all applications and secondary packages.assembleAndroidTest - Assembles all the Test applications.assembleDebug - Assembles all Debug builds.assembleDebugAndroidTest - Assembles the android (on device) tests for the Debug build.assembleRelease - Assembles all Release 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.clean - Deletes the build directory.compileDebugAndroidTestSourcescompileDebugSourcescompileDebugUnitTestSourcescompileReleaseSourcescompileReleaseUnitTestSourcesmockableAndroidJar - Creates a version of android.jar that's suitable for unit tests.Help tasks----------components - Displays the components produced by project ':QYVideoClient'. [incubating]dependencies - Displays all dependencies declared in project ':QYVideoClient'.dependencyInsight - Displays the insight into a specific dependency in project ':QYVideoClient'.help - Displays a help message.projects - Displays the sub-projects of project ':QYVideoClient'.properties - Displays the properties of project ':QYVideoClient'.tasks - Displays the tasks runnable from project ':QYVideoClient'.Install tasks-------------installDebug - Installs the Debug build.installDebugAndroidTest - Installs the android (on device) tests for the Debug build.uninstallAll - Uninstall all applications.uninstallDebug - Uninstalls the Debug build.uninstallDebugAndroidTest - Uninstalls the android (on device) tests for the Debug build.uninstallRelease - Uninstalls the Release build.Verification tasks------------------check - Runs all checks.connectedAndroidTest - Installs and runs the tests for Debug build on connected devices.connectedCheck - Runs all device checks on currently connected devices.deviceCheck - Runs all device checks using Device Providers and Test Servers.lint - Runs lint on all variants.lintDebug - Runs lint on the Debug build.lintRelease - Runs lint on the Release build.test - Run all unit tests.testDebug - Run unit tests for the Debug build.testRelease - Run unit tests for the Release build.Rules-----Pattern: clean<TaskName>: Cleans the output files of a task.Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.To see all tasks and more detail, run gradle tasks --allTo see more detail about a task, run gradle help --task <task>BUILD SUCCESSFUL


0 0
原创粉丝点击