versioning scheme change

This commit is contained in:
NikkyAI 2018-02-11 17:23:52 +01:00
parent bb0af143fd
commit 440ab5ac9f
2 changed files with 9 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
steps {
sh './gradlew :1.10.2:setupCiWorkspace'
sh './gradlew :1.10.2:clean'
sh './gradlew :1.10.2:build'
sh './gradlew :1.10.2:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.10.2/build/libs/*jar'
}
}
@ -13,7 +13,7 @@ pipeline {
steps {
sh './gradlew :1.11.2:setupCiWorkspace'
sh './gradlew :1.11.2:clean'
sh './gradlew :1.11.2:build'
sh './gradlew :1.11.2:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.11.2/build/libs/*jar'
}
}
@ -21,7 +21,7 @@ pipeline {
steps {
sh './gradlew :1.12.2:setupCiWorkspace'
sh './gradlew :1.12.2:clean'
sh './gradlew :1.12.2:build'
sh './gradlew :1.12.2:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.12.2/build/libs/*jar'
}
}

View File

@ -8,6 +8,12 @@ subprojects {
apply plugin: "kotlin"
apply plugin: "idea"
if (project.hasProperty('build_number')) {
mod_version += "-build-$build_number"
} else if(!project.hasProperty('release')) {
mod_version += "-dev"
}
idea {
module {
excludeDirs += [file("run")]