TerraForged/build.gradle
2020-01-16 09:56:57 +00:00

13 lines
289 B
Groovy

allprojects {
apply plugin: "java"
group = "com.terraforged"
version = "${mod_version}${getBuildNumber()}"
}
static def getBuildNumber() {
def buildNumber = System.getenv("BUILD_NUMBER")
if (buildNumber == null) {
return ""
}
return "-${buildNumber}"
}