Skip to content

Commit

Permalink
Ship mixinextras-forge on SpongeForge
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeregorix committed Jan 10, 2025
1 parent 415ae30 commit 8161c0d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ dependencies {
exclude(group = "org.apache.commons", module = "commons-lang3")
}
launchConfig(libs.mixin)
launchConfig(libs.mixinextras)
launchConfig(libs.mixinextras.common)
launchConfig(apiLibs.checkerQual)
launchConfig(libs.guava) {
exclude(group = "com.google.code.findbugs", module = "jsr305") // We don't want to use jsr305, use checkerframework
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ dependencies {
exclude(group = "org.spongepowered", module = "configurate-core")
exclude(group = "org.checkerframework", module = "checker-qual")
}
service(libs.mixinextras)

val game = gameLibrariesConfig.name
game("org.spongepowered:spongeapi:$apiVersion")
game(libs.javaxInject)
game(platform(apiLibs.adventure.bom))
game(libs.adventure.serializerConfigurate4)
game(libs.mixinextras.forge)

val serviceShadedLibraries = serviceShadedLibrariesConfig.name
serviceShadedLibraries(project(transformersProject.path)) { isTransitive = false }
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ configurate-jackson = { module = "org.spongepowered:configurate-jackson" } # ver
guava = { module = "com.google.guava:guava", version.ref = "guava" }
javaxInject = { module = "javax.inject:javax.inject", version = "1" }
mixin = { module = "org.spongepowered:mixin", version.ref = "mixin" }
mixinextras = { module = "io.github.llamalad7:mixinextras-common", version.ref = "mixinextras" }
mixinextras-common = { module = "io.github.llamalad7:mixinextras-common", version.ref = "mixinextras" }
mixinextras-forge = { module = "io.github.llamalad7:mixinextras-forge", version.ref = "mixinextras" }
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
mockito-junitJupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" }

Expand Down
8 changes: 8 additions & 0 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1767,6 +1767,14 @@
<sha256 value="bc224bc9bb3c376b76a673e146f548dfb5152b15f2cf0a1f1df697cf1a3acc9e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.llamalad7" name="mixinextras-forge" version="0.4.1">
<artifact name="mixinextras-forge-0.4.1.jar">
<sha256 value="9d48cb0a40299d283248fdad8b02c6d175c45b27f9bec48ef63d7ee8a4ee3066" origin="Generated by Gradle"/>
</artifact>
<artifact name="mixinextras-forge-0.4.1.pom">
<sha256 value="8c3bc9fd591bc79e46cbc93e917cb718af952d1539f44cc9599c6299f2c778d5" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.github.llamalad7" name="mixinextras-neoforge" version="0.4.1">
<artifact name="mixinextras-neoforge-0.4.1.jar">
<sha256 value="9f9b6b2b1a2f376a1d62489fc8d928338d5798d69d329d2b3af7f84e420e90e9" origin="Generated by Gradle"/>
Expand Down
2 changes: 1 addition & 1 deletion vanilla/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ dependencies {
}

boot(libs.mixin)
boot(libs.mixinextras)
boot(libs.mixinextras.common)
boot(libs.asm.tree)
boot(libs.guava) {
exclude(group = "com.google.errorprone", module = "error_prone_annotations")
Expand Down

0 comments on commit 8161c0d

Please sign in to comment.