Enable gradle configuration cache with flag in ci and fix path issue #211
+3
-1
@@ -6,11 +6,13 @@ stages:
|
|||||||
|
|
||||||
# Reusable definitions
|
# Reusable definitions
|
||||||
.gradle-cache: &gradle-cache
|
.gradle-cache: &gradle-cache
|
||||||
|
variables:
|
||||||
|
GRADLE_USER_HOME: '$CI_PROJECT_DIR/.gradle-home'
|
||||||
cache:
|
cache:
|
||||||
key: '$CI_PROJECT_ID-gradle'
|
key: '$CI_PROJECT_ID-gradle'
|
||||||
paths:
|
paths:
|
||||||
- .gradle/
|
- .gradle/
|
||||||
- ~/.gradle/caches/
|
- .gradle-home/
|
||||||
|
|
||||||
.on-commit: &on-commit
|
.on-commit: &on-commit
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user