Don't include extra copies of the Fabric API

This commit is contained in:
Shadowfacts 2021-03-09 18:36:40 -05:00
parent 7170c3482b
commit fab5dcdc35
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 12 additions and 4 deletions

View File

@ -45,8 +45,12 @@ dependencies {
runtimeOnly project(":plugin:rei")
include project(":plugin:rei")
modRuntime "io.github.cottonmc:cotton-resources:${project.cotton_resources_version}"
modRuntime "com.terraformersmc:modmenu:${project.modmenu_version}"
modRuntime("io.github.cottonmc:cotton-resources:${project.cotton_resources_version}") {
exclude group: "net.fabricmc.fabric-api"
}
modRuntime("com.terraformersmc:modmenu:${project.modmenu_version}") {
exclude group: "net.fabricmc.fabric-api"
}
testImplementation "org.junit.jupiter:junit-jupiter:${project.junit_version}"
}

View File

@ -33,8 +33,12 @@ dependencies {
implementation project(":")
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api:${project.rei_version}"
modRuntime "me.shedaniel:RoughlyEnoughItems:${project.rei_version}"
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api:${project.rei_version}") {
exclude group: "net.fabricmc.fabric-api"
}
modRuntime("me.shedaniel:RoughlyEnoughItems:${project.rei_version}") {
exclude group: "net.fabricmc.fabric-api"
}
}
processResources {