This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
McGamerZone/.gitlab-ci.yml
2021-02-19 15:11:08 -05:00

20 lines
289 B
YAML

image: gradle:jdk11
stages:
- build
- deploy
build:prod:
stage: build
only:
- master
before_script:
- gradle wrapper
script:
- ./gradlew shadowJar
- ./gradlew publishMavenPublicationToApiRepository
artifacts:
paths:
- output
expire_in: 1 week