aboutsummaryrefslogtreecommitdiff
path: root/forge
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-10-16 22:27:22 +0800
committershedaniel <daniel@shedaniel.me>2021-10-16 22:27:22 +0800
commit57190de30dbe4e324137f253002ad5fa27fef92c (patch)
treefd0e5b1816dff4b34eb1008d9a8857fa7a225171 /forge
parent0398e549393974d43365fd7a3f5f06c9df241a93 (diff)
downloadRoughlyEnoughItems-57190de30dbe4e324137f253002ad5fa27fef92c.tar.gz
RoughlyEnoughItems-57190de30dbe4e324137f253002ad5fa27fef92c.tar.bz2
RoughlyEnoughItems-57190de30dbe4e324137f253002ad5fa27fef92c.zip
Add back REI Compatibility Workaround
Diffstat (limited to 'forge')
-rw-r--r--forge/build.gradle9
1 files changed, 6 insertions, 3 deletions
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"