mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-03 05:30: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
|
targetCompatibility = javaVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks["jar"].enabled = false
|
||||||
|
|
||||||
tasks.processResources {
|
tasks.processResources {
|
||||||
val props = mapOf("version" to version)
|
val props = mapOf("version" to version)
|
||||||
inputs.properties(props)
|
inputs.properties(props)
|
||||||
|
Loading…
Reference in New Issue
Block a user