gradle: adds additional gradle examples

This commit is contained in:
Wilhelm Haas 2017-11-29 16:04:45 +01:00 committed by GitHub
parent c173466f8e
commit 82b32e4549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,19 @@
# gradle
> Gradle is the official build system for Android Studio.
> Gradle is an advanced open source build automation system.
- Compile a package:
`gradle build`
- Exclude test task:
`gradle build -x test`
- Run in offline mode:
`gradle build --offline`
- Clear the build folder:
`gradle clean`
@ -13,3 +21,7 @@
- Compile and Release package:
`gradle assembleRelease`
- Create Gradle wrapper:
`gradle wrapper --gradle-version {{gradle_version}}`