17 lines
266 B
YAML
17 lines
266 B
YAML
image: gradle:alpine
|
|
|
|
variables:
|
|
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
|
|
|
before_script:
|
|
- export GRADLE_USER_HOME=`pwd`/.gradle
|
|
|
|
deploy:
|
|
stage: deploy
|
|
script: ./gradlew --build-cache assemble
|
|
artifacts:
|
|
paths:
|
|
- build/libs
|
|
only:
|
|
- master
|