Skip to content

Commit

Permalink
Added back mixins extras
Browse files Browse the repository at this point in the history
  • Loading branch information
Faboslav committed Jan 15, 2024
1 parent 8ff6ae6 commit 3534395
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 4 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 3534395

Please sign in to comment.