diff --git a/build.gradle b/build.gradle index 2e335bfdb..52654c5de 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,10 @@ version = mod_version group = "de.ellpeck.actuallyadditions" archivesBaseName = "actuallyadditions-${mc_version}" +if (System.getenv('BUILD_NUMBER') != null) { + version += "." + System.getenv('BUILD_NUMBER') +} + sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' sourceSets {