Commit af839541 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Cleanup based on gradle:6-jdk11 image

parent 8f92ebb6
Pipeline #30732 passed with stage
in 1 minute
image: openjdk:11-jdk
image: gradle:6-jdk11
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
NEXUS_CREDENTIALS: "-Pnexususer=$NEXUS_REPO_USER -Pnexuspass=$NEXUS_REPO_PASS"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
- ./gradlew wrapper --distribution-type=bin
cache:
paths:
- .gradle/wrapper
- .gradle/caches
stages:
- test
- build
......@@ -21,11 +11,11 @@ stages:
test:
stage: test
script:
- ./gradlew check
- gradle check
build:
stage: build
script: ./gradlew assemble
script: gradle assemble
artifacts:
paths:
- dariahsp-core/build/libs/*.jar
......@@ -36,6 +26,6 @@ build:
deploy:
stage: deploy
script:
- ./gradlew publish -x test $NEXUS_CREDENTIALS
- gradle publish -x test $NEXUS_CREDENTIALS
only:
- v2.x-master
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