mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 13:10:55 +00:00
Possible working CI.
This commit is contained in:
parent
e303f6f937
commit
b3f2c9270b
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@ -0,0 +1,17 @@
|
||||
image: gradle:7.3-jdk11
|
||||
|
||||
variables:
|
||||
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script: gradle --build-cache shadowJar
|
||||
cache:
|
||||
key: "$CI_COMMIT_REF_NAME"
|
||||
policy: push
|
||||
paths:
|
||||
- build
|
||||
- .gradle
|
||||
artifacts:
|
||||
paths:
|
||||
- **/build/libs/*.jar
|
@ -40,6 +40,8 @@ subprojects {
|
||||
targetCompatibility = javaVersion
|
||||
}
|
||||
|
||||
tasks["jar"].enabled = false
|
||||
|
||||
tasks.processResources {
|
||||
val props = mapOf("version" to version)
|
||||
inputs.properties(props)
|
||||
|
Loading…
Reference in New Issue
Block a user