lilJudd/.gitlab-ci.yml
limited_dev 3c5ecedaaf chore: add LICENSE, add .gitlab-ci.yml
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
2023-04-27 10:39:18 +02:00

34 lines
564 B
YAML

#image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/gradle
image: gradle
stages:
- build
- publish
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
- rm -f .gradle/caches/modules-2/modules-2.lock
- rm -fr .gradle/caches/*/plugin-resolution/
cache:
paths:
- .gradle/wrapper
- .gradle/caches
- build
build:
stage: build
script:
- gradle shadowJar
except:
- tags
publish:
stage: publish
script:
- gradle publish