make version have -SNAPSHOT at the end if built by jenkins
This commit is contained in:
parent
ffd189b2fc
commit
697fdb36e1
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ subprojects {
|
|||
apply plugin: "java"
|
||||
|
||||
group "lol.pyr"
|
||||
version "2.0.0"
|
||||
version "2.0.0" + (System.getenv().containsKey("BUILD_ID") ? "-SNAPSHOT" : "")
|
||||
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
|
||||
|
|
Loading…
Reference in a new issue