snippetbashTip
gradle — An open source build automation system. More information: <https://manned.org/gradle>.
Viewed 0 times
automationcommandbuildsourcecliopengradlesystem
Problem
How to use the
gradle command: An open source build automation system. More information: <https://manned.org/gradle>.Solution
gradle — An open source build automation system. More information: <https://manned.org/gradle>.Compile a package:
gradle buildExclude test task:
gradle build {{[-x|--exclude-task]}} testRun in offline mode to prevent Gradle from accessing the network during builds:
gradle build --offlineClear the build directory:
gradle cleanBuild an Android Package (APK) in release mode:
gradle assembleReleaseList the main tasks:
gradle tasksList all the tasks:
gradle tasks --allCode Snippets
Compile a package
gradle buildExclude test task
gradle build {{[-x|--exclude-task]}} testRun in offline mode to prevent Gradle from accessing the network during builds
gradle build --offlineClear the build directory
gradle cleanBuild an Android Package (APK) in release mode
gradle assembleReleaseContext
tldr-pages: common/gradle
Revisions (0)
No revisions yet.