mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
490 B
Plaintext
26 lines
490 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gradle build
|
|
|
|
> Build a project using Gradle.
|
|
> More information: <https://docs.gradle.org/current/userguide/command_line_interface.html#common_tasks>.
|
|
|
|
- Build the project:
|
|
|
|
`gradle build`
|
|
|
|
- Perform a clean build:
|
|
|
|
`gradle clean build`
|
|
|
|
- Build the project while skipping tests:
|
|
|
|
`gradle build {{[-x|--exclude-task]}} test`
|
|
|
|
- Build with more detailed logging:
|
|
|
|
`gradle build {{[-i|--info]}}`
|