SnowyGUI/fabric/build.gradle.kts
Username404-59 2b48e68f77
Don't include fabric apis anymore
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
2026-02-06 03:45:07 +01:00

30 lines
1.6 KiB
Plaintext

repositories {
maven {
url = uri("https://maven.terraformersmc.com/releases")
content { includeGroup("com.terraformersmc") }
}
}
object Groups {
const val Fabric: String = "net.fabricmc"
const val FabricApi: String = "$Fabric.fabric-api"
}
architectury { platformSetupLoomIde(); fabric() }
dependencies {
modImplementation("${Groups.Fabric}:fabric-loader:${rootProject.property("fabric_loader_version")}")
modApi("${Groups.FabricApi}:fabric-rendering-v1:${rootProject.property("fabric_rendering_api_version")}")
modApi("${Groups.FabricApi}:fabric-api-base:${rootProject.property("fabric_api_base_version")}")
modApi("me.shedaniel.cloth:cloth-config-fabric:${rootProject.property("clothconfig_version")}") { exclude(group = Groups.FabricApi) }
modImplementation("${Groups.FabricApi}:fabric-resource-loader-v0:${rootProject.property("fabric_resource_loader_version")}")
modImplementation(group = "net.fabricmc", name = "fabric-language-kotlin", version = rootProject.property("fabric_language_kotlin") as String)
modImplementation("com.terraformersmc:modmenu:${rootProject.property("modmenu_version")}") {
exclude(group = Groups.FabricApi, module = "fabric-api-base")
exclude(group = Groups.FabricApi, module = "fabric-resource-loader-v0")
}
implementation(project(path = ":common", configuration = "namedElements")) { isTransitive = false }
add("developmentFabric", project(path = ":common")) { isTransitive = false }
shadowC(project(path = ":common", configuration = "transformProductionFabric")) { isTransitive = false }
}