Skip to content

Commit d1c7382

Browse files
Update build script version to 1743737794 (GregTechCEu#2764)
Co-authored-by: DStrand1 <[email protected]> Co-authored-by: alongstringofnumbers <[email protected]>
1 parent 1f69eb4 commit d1c7382

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//version: 1723428048
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'
@@ -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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ minecraftVersion = 1.12.2
2626
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
2727
# Alternatively this can be set with the 'DEV_USERNAME' environment variable.
2828
developmentEnvironmentUserName = Developer
29+
2930
# Additional arguments applied to the JVM when launching minecraft
3031
# Syntax: -arg1=value1;-arg2=value2;...
3132
# Example value: -Dmixin.debug.verify=true;-XX:+UnlockExperimentalVMOptions
@@ -35,6 +36,7 @@ additionalJavaArguments=
3536
# See https://github.com/bsideup/jabel for details on how this works.
3637
# Using this requires that you use a Java 17 JDK for development.
3738
enableModernJavaSyntax = true
39+
3840
# Enables runClient/runServer tasks for Java 17 and Java 21 using LWJGL3ify.
3941
# This is primarily used to test if your mod is compatible with platforms running
4042
# Minecraft 1.12.2 on modern versions of Java and LWJGL, and assist in fixing any problems with it.
@@ -62,6 +64,8 @@ accessTransformersFile = gregtech_at.cfg
6264

6365
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
6466
usesMixins = true
67+
# Mixin Provider to use. Primarily changed when needing to use a different version.
68+
mixinProviderSpec=zone.rong:mixinbooter:10.6
6569
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
6670
mixinsPackage = mixins
6771
# Location of the mixin config refmap. If left, blank, defaults to "mixins.${modId}.refmap.json". Target file must have the "json" extension.
@@ -90,6 +94,7 @@ includeWellKnownRepositories=true
9094
# be available at compiletime and runtime for your mod (in-game and in-code).
9195
# Overrides the above setting to be always true, as these repositories are needed to fetch the mods
9296
includeCommonDevEnvMods = true
97+
9398
# Some mods require a specific forge version to launch in. When you need to use one of those mods as a dependency,
9499
# and cannot launch with the forge version required, enable this to strip the forge version requirements from that mod.
95100
# This will add 'strip-latest-forge-requirements' as 'runtimeOnlyNonPublishable'.

0 commit comments

Comments
 (0)