Commit bdf823f9 authored by SR-Lut3t1um's avatar SR-Lut3t1um

trying to optimize gradle

parent aa48adec
Pipeline #88783 passed with stages
in 2 minutes and 37 seconds
......@@ -2,7 +2,7 @@
# This is the Gradle build system for JVM applications
# https://gradle.org/
# https://github.com/gradle/gradle
image: oracle/graalvm-ce:19.3.1-java11
image: gradle:jdk11
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
......@@ -15,16 +15,15 @@ variables:
SAST_JAVA_VERSION: 11
before_script:
- chmod +x gradlew
- export GRADLE_USER_HOME=`pwd`/.gradle
include:
- template: Dependency-Scanning.gitlab-ci.yml
build:
stage: build
script: ./gradlew --build-cache assemble
script: gradle --build-cache assemble
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
......@@ -34,7 +33,7 @@ build:
test:
stage: test
script: ./gradlew test
script: gradle test
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment