TerraForged/build.gradle

13 lines
289 B
Groovy
Raw Normal View History

2020-01-16 09:56:57 +00:00
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}"
}