diff options
author | isXander <xandersmith2008@gmail.com> | 2023-05-16 17:04:51 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-05-16 17:04:51 +0100 |
commit | 4f1bba3f51de1f544b239e7eac740eab5832dc5b (patch) | |
tree | 72357adf401c2f0c2962eba59d2a793ba238a182 /test-forge/build.gradle.kts | |
parent | 5b368af9efcc1c587c608d014e9dc79bcc3c691c (diff) | |
download | YetAnotherConfigLib-4f1bba3f51de1f544b239e7eac740eab5832dc5b.tar.gz YetAnotherConfigLib-4f1bba3f51de1f544b239e7eac740eab5832dc5b.tar.bz2 YetAnotherConfigLib-4f1bba3f51de1f544b239e7eac740eab5832dc5b.zip |
1.20
Diffstat (limited to 'test-forge/build.gradle.kts')
-rw-r--r-- | test-forge/build.gradle.kts | 6 |
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) |