diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c59915e0..ae8556c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,9 @@ default: before_script: - echo "Setting Gradle Home" && export GRADLE_USER_HOME=`pwd`/.gradle cache: - key: ${CI_COMMIT_REF_SLUG} + key: + files: + - gradle/wrapper/gradle-wrapper.properties paths: - .gradle/ @@ -29,7 +31,7 @@ stages: Check Style: stage: Check - script: pwd && ls -lah && ls -lah ~ && ./gradlew -Pqc ktlintCheck && ls -lah /root/.gradle/ && ls -lah /root/.gradle/wrapper/dists + script: pwd && ls -lah && ls -lah ~ && ./gradlew -Pqc ktlintCheck && ls -lah ~ && ls -lah .gradle rules: - if: $CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_TAG || $CI_PROJECT_ID != "37671564"