Require architectury-loom 0.7.3.149 or higher and add the crane parameter mappings
This commit is contained in:
parent
e8f2dd6acc
commit
f3d4770e00
|
@ -17,7 +17,7 @@ plugins {
|
||||||
id("dev.architectury.loom") version (
|
id("dev.architectury.loom") version (
|
||||||
if (JavaVersion.current() >= JavaVersion.VERSION_16)
|
if (JavaVersion.current() >= JavaVersion.VERSION_16)
|
||||||
"[0.9.0.131, 0.9.1["
|
"[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
|
) apply false
|
||||||
id("com.github.ben-manes.versions") version "0.39.0"
|
id("com.github.ben-manes.versions") version "0.39.0"
|
||||||
id("net.kyori.indra.git") version "2.0.5"
|
id("net.kyori.indra.git") version "2.0.5"
|
||||||
|
@ -53,7 +53,9 @@ subprojects {
|
||||||
apply(plugin = "dev.architectury.loom")
|
apply(plugin = "dev.architectury.loom")
|
||||||
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
|
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
|
||||||
extensions.configure<net.fabricmc.loom.LoomGradleExtension>("loom") {
|
extensions.configure<net.fabricmc.loom.LoomGradleExtension>("loom") {
|
||||||
mappingsDep = officialMojangMappings()
|
mappingsDep = layered {
|
||||||
|
officialMojangMappings().crane("dev.architectury:crane:${rootProject.architectury.minecraft}+build.+")
|
||||||
|
}
|
||||||
silentMojangMappingsLicense()
|
silentMojangMappingsLicense()
|
||||||
mixinConfig("snowygui-mixins.json")
|
mixinConfig("snowygui-mixins.json")
|
||||||
refmapName = "snowygui-${project.name}-refmap.json"
|
refmapName = "snowygui-${project.name}-refmap.json"
|
||||||
|
|
Loading…
Reference in New Issue