2021-04-08 10:18:46 +02:00
|
|
|
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 {
|
2021-04-08 14:13:37 +02:00
|
|
|
modImplementation("${Groups.Fabric}:fabric-loader:${rootProject.property("fabric_loader_version")}")
|
2021-04-28 12:30:59 +02:00
|
|
|
include(modApi("${Groups.FabricApi}:fabric-rendering-v1:${rootProject.property("fabric_rendering_api_version")}")!!)
|
2021-04-28 13:45:34 +02:00
|
|
|
include(modApi("${Groups.FabricApi}:fabric-api-base:${rootProject.property("fabric_api_base_version")}")!!)
|
2021-05-29 22:11:05 +02:00
|
|
|
modApi("me.shedaniel.cloth:cloth-config-fabric:${rootProject.property("clothconfig_version")}") { exclude(group = Groups.FabricApi) }
|
2021-10-26 23:25:00 +02:00
|
|
|
include(modImplementation("${Groups.FabricApi}:fabric-resource-loader-v0:${rootProject.property("fabric_resource_loader_version")}")!!)
|
2021-05-07 10:33:35 +02:00
|
|
|
modImplementation(group = "net.fabricmc", name = "fabric-language-kotlin", version = rootProject.property("fabric_language_kotlin") as String)
|
2021-10-26 23:25:00 +02:00
|
|
|
modImplementation("com.terraformersmc:modmenu:${rootProject.property("modmenu_version")}") {
|
2021-04-28 12:35:03 +02:00
|
|
|
exclude(group = Groups.FabricApi, module = "fabric-api-base")
|
2021-04-08 10:18:46 +02:00
|
|
|
exclude(group = Groups.FabricApi, module = "fabric-resource-loader-v0")
|
2021-10-26 23:25:00 +02:00
|
|
|
}
|
2023-04-28 16:00:28 +02:00
|
|
|
implementation(project(path = ":common", configuration = "namedElements")) { isTransitive = false }
|
2021-04-08 10:18:46 +02:00
|
|
|
add("developmentFabric", project(path = ":common")) { isTransitive = false }
|
2021-04-08 12:54:54 +02:00
|
|
|
shadowC(project(path = ":common", configuration = "transformProductionFabric")) { isTransitive = false }
|
2021-04-08 13:23:45 +02:00
|
|
|
}
|