Require architectury-loom 0.7.3.149 or higher and add the crane parameter mappings

This commit is contained in:
Username404 2021-07-15 15:09:56 +02:00
parent e8f2dd6acc
commit f3d4770e00
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@ plugins {
id("dev.architectury.loom") version (
if (JavaVersion.current() >= JavaVersion.VERSION_16)
"[0.9.0.131, 0.9.1["
else "[0.7.2.110, 0.8.0["
else "[0.7.3.149, 0.8.0["
) apply false
id("com.github.ben-manes.versions") version "0.39.0"
id("net.kyori.indra.git") version "2.0.5"
@ -53,7 +53,9 @@ subprojects {
apply(plugin = "dev.architectury.loom")
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
extensions.configure<net.fabricmc.loom.LoomGradleExtension>("loom") {
mappingsDep = officialMojangMappings()
mappingsDep = layered {
officialMojangMappings().crane("dev.architectury:crane:${rootProject.architectury.minecraft}+build.+")
}
silentMojangMappingsLicense()
mixinConfig("snowygui-mixins.json")
refmapName = "snowygui-${project.name}-refmap.json"