: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-build-template
[source,yaml]
----
include::{sourcedir}java/gradle/gradle-build.gitlab-ci.yml[]
----