20 lines
609 B
Plaintext
20 lines
609 B
Plaintext
:sourcedir: ../../../../../templates/
|
|
|
|
= Gradle-build-template
|
|
|
|
This template resolves the gradle dependencies of your project and builds the project.
|
|
The result will be cached when you include the common CI variables.
|
|
The resulting build files will be published as artefacts.
|
|
|
|
.Variables
|
|
|===
|
|
|Name |Description | Default Value
|
|
|GRADLE_CLI_OPTS | Additional Options that will be passed to Gradle | ""
|
|
|GRADLE_CLI_BUILD_OPTS | Additional Options that will be passed to Gradle while Building | ""
|
|
|===
|
|
|
|
.gradle-build-template
|
|
[source,yaml]
|
|
----
|
|
include::{sourcedir}java/gradle/gradle-build.gitlab-ci.yml[]
|
|
---- |