1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/common/gradle.md
Lena 0fddee2272
pages/*: reword descriptions to comply with the style guide (#11507)
* pages/*: reword descriptions to comply with the style guide

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-15 09:55:25 +05:30

32 lines
499 B
Markdown

# gradle
> 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`
- Build an Android Package (APK) in release mode:
`gradle assembleRelease`
- List the main tasks:
`gradle tasks`
- List all the tasks:
`gradle tasks --all`