tldr/pages/common/gradle.md

24 lines
369 B
Markdown

# gradle
> 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 to prevent gradle from accessing the network during builds:
`gradle build --offline`
- Clear the build folder:
`gradle clean`
- Compile and Release package:
`gradle assembleRelease`