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
1 changed files with 1 additions and 4 deletions

View File

@ -18,9 +18,6 @@ version = "1.12.2-r152"
group = "de.ellpeck.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) {
version += "." + System.getenv('BUILD_NUMBER')
}
@ -31,7 +28,7 @@ minecraft {
mappings = "stable_39"
makeObfSourceJar = false
replaceIn "ActuallyAdditions.java"
replace "@VERSION@", modVersion.toString()
replace "@VERSION@", version.toString()
}
repositories {