add build number to ci build

This commit is contained in:
Ell 2020-11-07 14:39:38 +01:00
parent 35a2a97e00
commit 127595467f

View file

@ -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 {