Using system wide Gradle and increased metaspace.

This commit is contained in:
Erik C. Thauvin 2021-05-21 00:28:27 -07:00
parent 425500d266
commit 0f35d65523

View file

@ -1,7 +1,7 @@
image: gradle:7-jdk11 image: gradle:7-jdk11
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false" GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-XX:MaxMetaspaceSize=512m"
before_script: before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle - export GRADLE_USER_HOME=`pwd`/.gradle
@ -12,7 +12,7 @@ stages:
build: build:
stage: build stage: build
script: ./gradlew --build-cache assemble script: gradle --build-cache assemble
cache: cache:
key: "$CI_COMMIT_REF_NAME" key: "$CI_COMMIT_REF_NAME"
policy: push policy: push
@ -22,7 +22,7 @@ build:
test: test:
stage: test stage: test
script: ./gradlew check script: gradle check
cache: cache:
key: "$CI_COMMIT_REF_NAME" key: "$CI_COMMIT_REF_NAME"
policy: pull policy: pull