mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-21 23:13:28 +01:00
Yeet
This commit is contained in:
parent
1e259e3f62
commit
12206a03a3
1 changed files with 1 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue