1
- // version: 1656003793falsepattern70
1
+ // version: 1656003793falsepattern72
2
2
/*
3
3
DO NOT CHANGE THIS FILE!
4
4
@@ -325,31 +325,36 @@ repositories {
325
325
}
326
326
}
327
327
328
+ def unimixinsVersion = " 0.1.14"
329
+
328
330
dependencies {
329
331
if (usesMixins. toBoolean()) {
330
- annotationProcessor(" org.ow2.asm:asm-debug-all:5.0.3" )
331
- annotationProcessor(" com.google.guava:guava:24.1.1-jre" )
332
- annotationProcessor(" com.google.code.gson:gson:2.8.6" )
333
- annotationProcessor(" com.llamalad7:MixinExtras:0.1.1-gasstation" )
334
- annotationProcessor(" org.spongepowered:mixin:0.8.5-gasstation_7" )
335
- compile(" org.spongepowered:mixin:0.8.5-gasstation_7" )
336
- compile(" com.llamalad7:MixinExtras:0.1.1-gasstation" )
337
- compile(" com.falsepattern:00gasstation-mc1.7.10:0.5.1:dev" )
338
- runtimeClasspath(' org.jetbrains:intellij-fernflower:1.2.1.16' )
339
- testRuntimeClasspath(' org.jetbrains:intellij-fernflower:1.2.1.16' )
332
+ annotationProcessor(" com.github.LegacyModdingMC.UniMixins:unimixins-all-1.7.10:$unimixinsVersion :dev" )
333
+ implementation(" com.github.LegacyModdingMC.UniMixins:unimixins-all-1.7.10:$unimixinsVersion :dev" )
334
+ runtimeOnly(' org.jetbrains:intellij-fernflower:1.2.1.16' )
340
335
} else if (hasMixinDeps. toBoolean()) {
341
- runtime(" com.llamalad7:MixinExtras:0.1.1-gasstation" )
342
- runtime(" org.spongepowered:mixin:0.8.5-gasstation_7" )
343
- runtime(" com.falsepattern:00gasstation-mc1.7.10:0.5.1:dev" )
336
+ runtimeOnly(" com.github.LegacyModdingMC.UniMixins:unimixins-all-1.7.10:$unimixinsVersion :dev" )
344
337
}
345
338
// Latest LWJGL
346
- compile " org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209"
347
- compile " org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209"
339
+ implementation " org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209"
340
+ implementation " org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209"
348
341
minecraftNatives " org.lwjgl.lwjgl:lwjgl-platform:2.9.4-nightly-20150209"
349
342
minecraftDeps " org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209"
350
343
minecraftDeps " org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209"
351
344
}
352
345
346
+
347
+ if (usesMixins. toBoolean()) {
348
+ configurations. implementation. dependencies. each {
349
+ if (it instanceof ExternalModuleDependency ) {
350
+ it. exclude module : " SpongeMixins"
351
+ it. exclude module : " SpongePoweredMixin"
352
+ it. exclude module : " 00gasstation-mc1.7.10"
353
+ it. exclude module : " gtnhmixins"
354
+ }
355
+ }
356
+ }
357
+
353
358
apply from : ' dependencies.gradle'
354
359
355
360
if (file(' dependencies_override.gradle' ). exists()) {
@@ -446,12 +451,6 @@ runClient {
446
451
def arguments = []
447
452
def jvmArguments = []
448
453
449
- if (usesMixins. toBoolean()) {
450
- arguments + = [
451
- " --mods=" + Paths . get(" $projectDir " ). resolve(minecraft. runDir). normalize(). relativize(Paths . get(" $projectDir /build/libs/$archivesBaseName -${ version} .jar" ))
452
- ]
453
- }
454
-
455
454
if (usesMixins. toBoolean() || hasMixinDeps. toBoolean()) {
456
455
arguments + = [
457
456
" --tweakClass" , " org.spongepowered.asm.launch.MixinTweaker"
@@ -476,12 +475,6 @@ runServer {
476
475
def arguments = []
477
476
def jvmArguments = []
478
477
479
- if (usesMixins. toBoolean()) {
480
- arguments + = [
481
- " --mods=" + Paths . get(" $projectDir " ). resolve(minecraft. runDir). normalize(). relativize(Paths . get(" $projectDir /build/libs/$archivesBaseName -${ version} .jar" ))
482
- ]
483
- }
484
-
485
478
if (usesMixins. toBoolean() || hasMixinDeps. toBoolean()) {
486
479
arguments + = [
487
480
" --tweakClass" , " org.spongepowered.asm.launch.MixinTweaker"
@@ -816,7 +809,7 @@ if (curseForgeProjectId != "" && System.getenv("CURSEFORGE_TOKEN") != null) {
816
809
}
817
810
818
811
if (usesMixins. toBoolean()) {
819
- addCurseForgeRelation(" requiredDependency" , " gasstation " )
812
+ addCurseForgeRelation(" requiredDependency" , " unimixins " )
820
813
}
821
814
tasks. curseforge. dependsOn(build)
822
815
tasks. publish. dependsOn(tasks. curseforge)
@@ -849,7 +842,7 @@ if (modrinthProjectId != "" && System.getenv("MODRINTH_TOKEN") != null) {
849
842
}
850
843
}
851
844
if (usesMixins. toBoolean()) {
852
- addModrinthDep(" required" , " project" , " cdeAhgfp " )
845
+ addModrinthDep(" required" , " project" , " ghjoiQAl " )
853
846
}
854
847
tasks. modrinth. dependsOn(build)
855
848
tasks. publish. dependsOn(tasks. modrinth)
0 commit comments