From 3534395cd6f365dc5006385e54ffc38c7b34ee25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Fabi=C3=A1nek?= Date: Mon, 15 Jan 2024 20:09:47 +0100 Subject: [PATCH] Added back mixins extras --- common/build.gradle | 2 ++ fabric/build.gradle | 3 +++ forge/build.gradle | 4 ++++ gradle.properties | 3 +++ neoforge/build.gradle | 4 ++++ 5 files changed, 16 insertions(+) diff --git a/common/build.gradle b/common/build.gradle index 558c5cc..2300ab5 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -4,6 +4,8 @@ architectury { dependencies { modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" + + implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:${rootProject.mixin_extras_version}")) } repositories { diff --git a/fabric/build.gradle b/fabric/build.gradle index b39299e..e5e7d18 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -28,6 +28,9 @@ dependencies { modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}" modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}" + // Mixin extras (https://github.com/LlamaLad7/MixinExtras) + include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:${rootProject.mixin_extras_version}"))) + modRuntimeOnly "curse.maven:friendsandfoes-551364:5012915" common(project(path: ":common", configuration: "namedElements")) { transitive false } diff --git a/forge/build.gradle b/forge/build.gradle index dc92371..a24fd5e 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -22,6 +22,10 @@ configurations { dependencies { forge "net.minecraftforge:forge:${rootProject.minecraft_version}-${rootProject.forge_version}" + // Mixin extras (https://github.com/LlamaLad7/MixinExtras) + implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${rootProject.mixin_extras_version}")) + implementation(include("io.github.llamalad7:mixinextras-forge:${rootProject.mixin_extras_version}")) + modRuntimeOnly "curse.maven:friendsandfoes-forge-602059:5012919" common(project(path: ":common", configuration: "namedElements")) { transitive false } diff --git a/gradle.properties b/gradle.properties index 0683af0..ec1ef23 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,6 +18,9 @@ yarn_mappings=1.20.2+build.4:v2 # Architectury enabled_platforms=fabric,forge,neoforge +# Common +mixin_extras_version=0.2.1 + # Fabric https://fabricmc.net/versions.html fabric_loader_version=0.14.22 fabric_api_version=0.91.2+1.20.2 diff --git a/neoforge/build.gradle b/neoforge/build.gradle index e9b2ac4..5ef0601 100644 --- a/neoforge/build.gradle +++ b/neoforge/build.gradle @@ -25,6 +25,10 @@ dependencies { common(project(path: ":common", configuration: "namedElements")) { transitive false } shadowCommon(project(path: ":common", configuration: "transformProductionNeoForge")) { transitive = false } + // Mixin extras (https://github.com/LlamaLad7/MixinExtras) + implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${rootProject.mixin_extras_version}")) + implementation(include("io.github.llamalad7:mixinextras-neoforge:${rootProject.mixin_extras_version}")) + modRuntimeOnly "curse.maven:friendsandfoes-forge-602059:5012916" }