diff --git a/common/src/main/resources/cerium.accesswidener b/common/src/main/resources/cerium.accesswidener new file mode 100644 index 0000000..236e6b1 --- /dev/null +++ b/common/src/main/resources/cerium.accesswidener @@ -0,0 +1 @@ +accessWidener v2 named diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index c7d7cf9..9055597 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -13,6 +13,10 @@ architectury { fabric() } +loom { + accessWidenerPath.set(project(":common").loom.accessWidenerPath) +} + val minecraftVersion: String by extra val fabricApiVersion: String by extra val fabricLoaderVersion: String by extra diff --git a/forge/build.gradle.kts b/forge/build.gradle.kts index 4b49a98..3fa3fc8 100644 --- a/forge/build.gradle.kts +++ b/forge/build.gradle.kts @@ -24,6 +24,7 @@ architectury { } loom { + accessWidenerPath.set(project(":common").loom.accessWidenerPath) forge { mixinConfig("example-common.mixins.json") mixinConfig("example-forge.mixins.json") diff --git a/neoforge/build.gradle.kts b/neoforge/build.gradle.kts index 262ac73..dd39552 100644 --- a/neoforge/build.gradle.kts +++ b/neoforge/build.gradle.kts @@ -23,6 +23,10 @@ architectury { neoForge() } +loom { + accessWidenerPath.set(project(":common").loom.accessWidenerPath) +} + val common by configurations.creating val shadowCommon by configurations.creating