This commit is contained in:
Michael Hillcox 2020-11-21 18:16:09 +00:00
parent 1e259e3f62
commit 12206a03a3
No known key found for this signature in database
GPG key ID: 971C5B254742488F

View file

@ -18,9 +18,6 @@ version = "1.12.2-r152"
group = "de.ellpeck.actuallyadditions" group = "de.ellpeck.actuallyadditions"
archivesBaseName = "ActuallyAdditions" archivesBaseName = "ActuallyAdditions"
// Store the mod version instead of publishing with the build number side the mod
def modVersion = version
if (System.getenv('BUILD_NUMBER') != null) { if (System.getenv('BUILD_NUMBER') != null) {
version += "." + System.getenv('BUILD_NUMBER') version += "." + System.getenv('BUILD_NUMBER')
} }
@ -31,7 +28,7 @@ minecraft {
mappings = "stable_39" mappings = "stable_39"
makeObfSourceJar = false makeObfSourceJar = false
replaceIn "ActuallyAdditions.java" replaceIn "ActuallyAdditions.java"
replace "@VERSION@", modVersion.toString() replace "@VERSION@", version.toString()
} }
repositories { repositories {