gradle: adds additional gradle examples (#1713)

coverage
Starbeamrainbowlabs 2017-12-12 20:04:54 +00:00 committed by GitHub
commit 391756661f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -1,11 +1,19 @@
# gradle # gradle
> Gradle is the official build system for Android Studio. > Gradle is an advanced open source build automation system.
- Compile a package: - Compile a package:
`gradle build` `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 folder: - Clear the build folder:
`gradle clean` `gradle clean`