Added build number to gradle

This commit is contained in:
Michael Hillcox 2020-11-01 19:39:07 +00:00
parent 195355bc5b
commit 88382ed2c6
No known key found for this signature in database
GPG key ID: 971C5B254742488F

View file

@ -18,6 +18,9 @@ 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 {