Skip to content

Commit d5501cd

Browse files
committed
build: duplicate version fix
1 parent 31f1e6e commit d5501cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ val publishType = if (mod.hasProp("build.release_type")) mod.prop("build.release
55
val isBeta = publishType != null && publishType == "beta"
66
val isAlpha = publishType != null && publishType == "alpha"
77
val kotlinVersion: String by rootProject
8-
val allSupportedMC = mutableListOf(mod.minecraftVersion).apply {
8+
val allSupportedMC = mutableListOf<String>().apply {
99
if (mod.hasProp("minecraft_version.additional"))
1010
this.addAll(mod.prop("minecraft_version.additional").split(',').map { it.trim() })
1111
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Done to increase the memory available to Gradle.
2-
org.gradle.jvmargs=-Xmx2G
2+
org.gradle.jvmargs=-Xmx6G
33
org.gradle.parallel=true
44

55
# Mod properties

0 commit comments

Comments
 (0)