mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 23:22:07 +02:00
24 lines
405 B
Markdown
24 lines
405 B
Markdown
# gradle
|
|
|
|
> Gradle is an 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`
|