mirror of https://github.com/CrimsonTome/tldr.git
gradle: adds additional gradle examples (#1713)
commit
391756661f
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue