gradle
Provides build support for Gradle projects using the Gradle CLI.
Defaults outputs to Gradle’s build/classes/ directory and forwards Terrabuild action names to gradle.
Available Commands
| Command | Description |
|---|---|
| build | Invokes gradle assemble for the chosen configuration. |
| <command> | Runs an arbitrary Gradle command (action name is forwarded to gradle). |
Project Initializer
Declares default project outputs for Gradle builds.
project {
@gradle { }
}Equivalent to:
project {
outputs = [ "build/classes/" ]
}Last updated on