TerraForged/build.gradle
2020-01-16 21:44:33 +00:00

15 lines
305 B
Groovy

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