From d0b555e1dcf5ae8ef4bf0dcf9b6ab323715fc52f Mon Sep 17 00:00:00 2001 From: jas35484 Date: Mon, 17 Jan 2022 19:50:20 -0600 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2be043684..76c5e84d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,4 @@ -# This file is a template, and might need editing before it works on your project. -# To contribute improvements to CI/CD templates, please follow the Development guide at: -# https://docs.gitlab.com/ee/development/cicd/templates.html -# This specific template is located at: -# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Gradle.gitlab-ci.yml - -# This is the Gradle build system for JVM applications -# https://gradle.org/ -# https://github.com/gradle/gradle - +# use Eclipse's JDK image: gradle:eclipse-temurin variables: @@ -15,7 +6,8 @@ variables: # is usually a priority over speed in CI environments. Using a fresh # runtime for each build is more reliable since the runtime is completely # isolated from any previous builds. - #GRADLE_OPTS: "-Dorg.gradle.daemon=false" + GRADLE_OPTS: "-Dorg.gradle.daemon=false" + # Pull core when building GIT_SUBMODULE_STRATEGY: recursive @@ -29,7 +21,7 @@ before_script: build: stage: build script: ./gradlew build - # the number here is the JDK version + # build using Java 17 image: eclipse-temurin:17 cache: key: "$CI_COMMIT_REF_NAME"