Skip to content

Commit

Permalink
Fix mixin extras dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNeedsSnacks committed Sep 8, 2023
1 parent d1fa267 commit 08cbd37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
22 changes: 4 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ allprojects {
ext.ENV = System.getenv()

repositories {
mavenCentral()

maven {
url "https://maven.architectury.dev/"
}
Expand All @@ -29,22 +31,6 @@ allprojects {
}
}

maven {
url "https://maven.saps.dev/releases"
content {
includeGroup "dev.latvian.mods"
includeGroup "dev.ftb.mods"
}
}

// jitpack (mixinextras only)
maven {
url "https://jitpack.io"
content {
includeGroup "com.github.llamalad7.mixinextras"
}
}

mavenLocal()
}
}
Expand Down Expand Up @@ -114,13 +100,13 @@ subprojects {

vmArgs("-XX:+IgnoreUnrecognizedVMOptions", "-XX:+AllowEnhancedClassRedefinition")

if (ENV.MC_SHARED_ARCH_RUN && ENV.MC_SHARED_ARCH_RUN == "true") {
if (ENV.MC_SHARED_ARCH_RUN == "true") {
runDir = '../run'
}
}

server {
if (ENV.MC_SHARED_ARCH_RUN && ENV.MC_SHARED_ARCH_RUN == "true") {
if (ENV.MC_SHARED_ARCH_RUN == "true") {
runDir = '../run_server'
}
}
Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies {
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api:${rootProject.rei_version}")
modCompileOnly("me.shedaniel:RoughlyEnoughItems-default-plugin:${rootProject.rei_version}")

implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${rootProject.mixin_extras}"))
implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:${rootProject.mixin_extras}"))
}

architectury {
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
bundle(project(path: ":common", configuration: "transformProductionFabric")) { transitive false }

include(implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-fabric:${rootProject.mixin_extras}")))
include(implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:${rootProject.mixin_extras}")))
}

// The AW file is needed in :fabric project resources when the game is run.
Expand Down
4 changes: 2 additions & 2 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ dependencies {
common(project(path: ":common", configuration: "namedElements")) { transitive false }
bundle(project(path: ":common", configuration: "transformProductionForge")) { transitive false }

implementation(annotationProcessor("com.github.llamalad7.mixinextras:mixinextras-common:${rootProject.mixin_extras}"))
implementation(include("com.github.llamalad7.mixinextras:mixinextras-forge:${rootProject.mixin_extras}"))
implementation(annotationProcessor("io.github.llamalad7:mixinextras-common:${rootProject.mixin_extras}"))
implementation(include("io.github.llamalad7:mixinextras-forge:${rootProject.mixin_extras}"))
}

processResources {
Expand Down

0 comments on commit 08cbd37

Please sign in to comment.