From 57190de30dbe4e324137f253002ad5fa27fef92c Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sat, 16 Oct 2021 22:27:22 +0800 Subject: Add back REI Compatibility Workaround --- forge/build.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'forge') diff --git a/forge/build.gradle b/forge/build.gradle index c3d81005c..380420c59 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -37,13 +37,15 @@ repositories { loom { launches { all { - // arg "--mixin", "rei-jei-internals-workaround.mixins.json" + arg "--mixin", "rei-jei-internals-workaround.mixins.json" } } forge { localMods { - // it.add(project(":jei-internals-workaround").sourceSets.main) + jeiInternalsWorkaround { + add(project(":jei-internals-workaround").sourceSets.main) + } } } } @@ -57,7 +59,7 @@ dependencies { common(project(path: ":jei-compatibility-layer", configuration: "dev")) { transitive false } shadowCommon(project(path: ":jei-compatibility-layer", configuration: "dev")) { transitive false } - // runtimeClasspath(project(path: ":jei-internals-workaround", configuration: "dev")) { transitive = false } + runtimeClasspath(project(path: ":jei-internals-workaround", configuration: "dev")) { transitive = false } depProjects.forEach { common(project(path: it, configuration: "dev")) { transitive false } @@ -161,6 +163,7 @@ curseforge { relations { requiredDependency "architectury-forge" requiredDependency "cloth-config-forge" + requiredDependency "roughly-enough-items-hacks" } mainArtifact(tasks.getByName("remapJar")) { displayName = "[Forge $project.supported_version] v$project.version" -- cgit