Skip to content

Commit a28f9a8

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 1638b05 + 47a8feb commit a28f9a8

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//version: 1726584787
1+
//version: 1743737794
22
/*
33
* DO NOT CHANGE THIS FILE!
44
* Also, you may replace this file at any time if there is an update available.
@@ -80,6 +80,7 @@ propertyDefaultIfUnset("includeWellKnownRepositories", true)
8080
propertyDefaultIfUnset("includeCommonDevEnvMods", true)
8181
propertyDefaultIfUnset("stripForgeRequirements", false)
8282
propertyDefaultIfUnset("noPublishedSources", false)
83+
propertyDefaultIfUnset("mixinProviderSpec", "zone.rong:mixinbooter:10.6")
8384
propertyDefaultIfUnset("forceEnableMixins", false)
8485
propertyDefaultIfUnset("mixinConfigRefmap", "mixins.${project.modId}.refmap.json")
8586
propertyDefaultIfUnsetWithEnvVar("enableCoreModDebug", false, "CORE_MOD_DEBUG")
@@ -518,7 +519,6 @@ configurations {
518519
testRuntimeClasspath.extendsFrom(runtimeOnlyNonPublishable)
519520
}
520521

521-
String mixinProviderSpec = 'zone.rong:mixinbooter:9.1'
522522
dependencies {
523523
if (usesMixins.toBoolean()) {
524524
annotationProcessor 'org.ow2.asm:asm-debug-all:5.2'
@@ -871,9 +871,9 @@ if (enableJava17RunTasks.toBoolean()) {
871871
dependencies {
872872
if (modId != 'lwjgl3ify') {
873873
java17Dependencies("io.github.twilightflower:lwjgl3ify:1.0.0")
874-
}
875-
java17PatchDependencies("io.github.twilightflower:lwjgl3ify:1.0.0:forgePatches") {
874+
java17PatchDependencies("io.github.twilightflower:lwjgl3ify:1.0.0:forgePatches") {
876875
transitive = false
876+
}
877877
}
878878
}
879879

@@ -1009,7 +1009,7 @@ abstract class RunHotswappableMinecraftTask extends RunMinecraftTask {
10091009

10101010
if (project.usesMixins.toBoolean()) {
10111011
this.extraJvmArgs.addAll(project.provider(() -> {
1012-
def mixinCfg = project.configurations.detachedConfiguration(project.dependencies.create(project.mixinProviderSpec))
1012+
def mixinCfg = project.configurations.detachedConfiguration(project.dependencies.create(mixinProviderSpec))
10131013
mixinCfg.canBeConsumed = false
10141014
mixinCfg.canBeResolved = true
10151015
mixinCfg.transitive = false

gradle.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ accessTransformersFile =
6464

6565
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
6666
usesMixins = false
67+
68+
# Mixin Provider to use. Primarily changed when needing to use a different version.
69+
mixinProviderSpec = zone.rong:mixinbooter:9.6
70+
6771
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
6872
mixinsPackage =
6973
# Location of the mixin config refmap. If left, blank, defaults to "mixins.${modId}.refmap.json". Target file must have the "json" extension.
@@ -78,7 +82,7 @@ coreModClass =
7882
containsMixinsAndOrCoreModOnly = false
7983

8084
# Enables Mixins even if this mod doesn't use them, useful if one of the dependencies uses mixins.
81-
forceEnableMixins = true
85+
forceEnableMixins = false
8286

8387
# Outputs pre-transformed and post-transformed loaded classes to run/CLASSLOADER_TEMP. Can be used in combination with
8488
# diff to see exactly what your ASM or Mixins are changing in the target file.

0 commit comments

Comments
 (0)