Don't include the fabric api in the common project

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2022-03-25 15:21:24 +01:00
parent d9dc59f678
commit 22b8bc19e1
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
architectury { common(); injectInjectables = false }
dependencies {
modImplementation("net.fabricmc:fabric-loader:${rootProject.property("fabric_loader_version")}")
implementation("me.shedaniel.cloth:cloth-config:${rootProject.property("clothconfig_version")}")
implementation("me.shedaniel.cloth:cloth-config:${rootProject.property("clothconfig_version")}") {
exclude(module = "fabric-api")
}
}
tasks.getByName("shrinkJar").enabled = false