diff --git a/build.gradle b/build.gradle index 496256d..9025ba2 100644 --- a/build.gradle +++ b/build.gradle @@ -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}" } diff --git a/plugin/rei/build.gradle b/plugin/rei/build.gradle index c485455..e06f284 100644 --- a/plugin/rei/build.gradle +++ b/plugin/rei/build.gradle @@ -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 {