Skip to content
Snippets Groups Projects
Commit 4fb6faf2 authored by dgelessus's avatar dgelessus
Browse files

Simplify GRADLE_USER_HOME setting in .gitlab-ci.yml

parent fdaeba6e
No related branches found
No related tags found
No related merge requests found
...@@ -6,15 +6,13 @@ stages: ...@@ -6,15 +6,13 @@ stages:
variables: variables:
GRADLE_OPTIONS: --no-daemon --info --stacktrace --warning-mode=all GRADLE_OPTIONS: --no-daemon --info --stacktrace --warning-mode=all
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle"
cache: cache:
paths: paths:
- .gradle/wrapper - .gradle/wrapper
- .gradle/caches - .gradle/caches
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
tests: tests:
stage: test stage: test
script: ./gradlew ${GRADLE_OPTIONS} check script: ./gradlew ${GRADLE_OPTIONS} check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment