aboutsummaryrefslogtreecommitdiff
path: root/test-forge/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'test-forge/build.gradle.kts')
-rw-r--r--test-forge/build.gradle.kts6
1 files changed, 5 insertions, 1 deletions
diff --git a/test-forge/build.gradle.kts b/test-forge/build.gradle.kts
index 5f98b90..8cd0573 100644
--- a/test-forge/build.gradle.kts
+++ b/test-forge/build.gradle.kts
@@ -1,3 +1,5 @@
+import org.gradle.kotlin.dsl.libs
+
plugins {
alias(libs.plugins.architectury.loom)
alias(libs.plugins.shadow)
@@ -29,7 +31,9 @@ val minecraftVersion: String = libs.versions.minecraft.get()
dependencies {
minecraft(libs.minecraft)
mappings(loom.layered {
- mappings("org.quiltmc:quilt-mappings:$minecraftVersion+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
+ val qm = libs.versions.quilt.mappings.get()
+ if (qm != "0")
+ mappings("org.quiltmc:quilt-mappings:${libs.versions.minecraft.get()}+build.${libs.versions.quilt.mappings.get()}:intermediary-v2")
officialMojangMappings()
})
forge(libs.forge)