1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/gradle.md
2019-06-07 22:58:59 +01:00

414 B

gradle

Gradle is an advanced open source build automation system. More information: https://gradle.org.

  • Compile a package:

gradle build

  • Exclude test task:

gradle build -x {{test}}

  • Run in offline mode to prevent gradle from accessing the network during builds:

gradle build --offline

  • Clear the build directory:

gradle clean

  • Compile and Release package:

gradle assembleRelease