mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-21 07:40:27 +00:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.mod.architectury.loom)
|
|
alias(libs.plugins.mod.architectury.plugin)
|
|
alias(libs.plugins.mod.loom.quiltflower)
|
|
}
|
|
|
|
dependencies {
|
|
shadedApi(project(":common:implementation:base"))
|
|
|
|
implementation(project(path = ":platforms:mixin-common", configuration = "namedElements")) { isTransitive = false }
|
|
|
|
shadedApi(project(":common:implementation:base"))
|
|
|
|
modImplementation(libs.mod.fabric.fabric.loader)
|
|
|
|
minecraft(libs.mod.minecraft)
|
|
mappings("net.fabricmc", "yarn", libs.versions.mod.yarn.get(), classifier = "v2")
|
|
|
|
modImplementation(libs.mod.cloud.fabric) {
|
|
exclude("net.fabricmc")
|
|
exclude("net.fabricmc.fabric-api")
|
|
}
|
|
}
|
|
|
|
loom {
|
|
accessWidenerPath.set(project(":platforms:mixin-common").file("src/main/resources/terra.accesswidener"))
|
|
|
|
mixin {
|
|
defaultRefmapName.set("terra.lifecycle.refmap.json")
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
compileJava {
|
|
options.release.set(17)
|
|
}
|
|
|
|
remapJar {
|
|
inputFile.set(shadowJar.get().archiveFile)
|
|
}
|
|
}
|
|
|
|
architectury {
|
|
common("fabric", "quilt")
|
|
minecraft = libs.versions.mod.minecraft.get()
|
|
} |