blob: 6bdfb0a7ce5964b4e2c3ddc8ed6a35981c7d09df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
plugins {
alias(libs.plugins.architectury.loom)
}
architectury {
val enabledLoaders = rootProject.properties["loaders"].toString().split(",").map { it.trim() }
common(enabledLoaders)
}
loom {
silentMojangMappingsLicense()
accessWidenerPath.set(project(":common").loom.accessWidenerPath)
}
dependencies {
minecraft(libs.minecraft)
mappings(loom.layered {
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()
})
modImplementation(libs.fabric.loader)
implementation(project(path = ":common", configuration = "namedElements"))
}
|