2020-07-10 20:50:50 +02:00
|
|
|
image: gradle:alpine
|
|
|
|
|
|
|
|
variables:
|
|
|
|
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export GRADLE_USER_HOME=`pwd`/.gradle
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
stage: deploy
|
2020-07-13 17:21:23 +02:00
|
|
|
script: |
|
|
|
|
chmod a+x gradlew
|
|
|
|
./gradlew --build-cache assemble
|
2020-07-10 20:50:50 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/libs
|
|
|
|
only:
|
|
|
|
- master
|