Use shared CI script

This commit is contained in:
Johannes Frohnmeyer 2021-12-29 23:38:03 +01:00
parent dcf0fd81fb
commit fa18139a82
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 2 additions and 21 deletions

View File

@ -1,21 +1,2 @@
image: gradle:alpine
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
deploy:
stage: deploy
script:
- gradle --build-cache assemble
- cp build/libs/* ./
- rm *-dev.jar
- mv *.jar latest.jar
artifacts:
paths:
- build/libs
- latest.jar
only:
- master
include:
- remote: 'https://jfmods.gitlab.io/scripts/jfmod.yml'