Test build number

This commit is contained in:
Telesphoreo 2022-03-26 16:29:25 -05:00
parent 635c1beba7
commit 0d662c18ea
2 changed files with 11 additions and 1 deletions

View File

@ -41,6 +41,16 @@ group = "dev.plex"
version = "0.10-SNAPSHOT" version = "0.10-SNAPSHOT"
description = "Plex" description = "Plex"
ext {
buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown"
}
tasks.register('printProperties') {
doLast {
println buildNumber
}
}
shadowJar { shadowJar {
archiveClassifier.set("") archiveClassifier.set("")
relocate "org.bstats", "dev.plex" relocate "org.bstats", "dev.plex"

View File

@ -1 +1 @@
rootProject.name = 'Plex' rootProject.name = 'Plex'