Commit 3ad42942 authored by TechnologyResearcher's avatar TechnologyResearcher
Browse files

Update .gitlab-ci.yml

parent 4fda245d
Pipeline #21 canceled with stage
......@@ -2,15 +2,26 @@ stages:
- build
- test
image: openjdk:8-alpine
image: gradle:alpine
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
build:
stage: build
script:
- ./gradlew build
artifacts:
- ./gradlew build --build-cache assemble
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- ./build/libs
- build
- .gradle
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