Commit 98f519fd authored by René Schöne's avatar René Schöne Committed by Johannes Mey
Browse files

Resolve "Use cache in CI for gradle"

parent 2852ddfd
......@@ -2,11 +2,19 @@ stages:
- build
- test
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:
image: openjdk:8
stage: build
script:
- ./gradlew --console=plain assemble jar
- ./gradlew --console=plain --no-daemon assemble jar
artifacts:
paths:
- "/builds/jastadd/relational-rags/build/libs/relast-*.jar"
......@@ -15,4 +23,4 @@ test:
image: openjdk:8
stage: test
script:
- ./gradlew --console=plain --info test
- ./gradlew --console=plain --no-daemon --info test
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