From 4f1bba3f51de1f544b239e7eac740eab5832dc5b Mon Sep 17 00:00:00 2001 From: isXander Date: Tue, 16 May 2023 17:04:51 +0100 Subject: 1.20 --- test-forge/build.gradle.kts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test-forge/build.gradle.kts') 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) -- cgit