@@ -47,7 +47,7 @@ val replacements = file("gradle.properties").inputStream().use { stream ->
4747plugins {
4848 kotlin(" jvm" ) version " 2.3.0"
4949 id(" org.jetbrains.dokka" ) version " 2.1.0"
50- id(" fabric-loom" ) version " 1.16 -SNAPSHOT"
50+ id(" fabric-loom" ) version " 1.17 -SNAPSHOT"
5151 id(" com.gradleup.shadow" ) version " 9.3.0"
5252 id(" maven-publish" )
5353}
@@ -110,18 +110,19 @@ loom {
110110
111111 runs {
112112 all {
113- property(" lambda.dev" , " youtu.be/RYnFIRc0k6E" )
114-
115- property(" org.lwjgl.util.Debug" , " true" )
116- property(" org.lwjgl.util.DebugLoader" , " true" )
117- // property("org.lwjgl.util.DebugAllocator", "true")
118- // property("org.lwjgl.util.DebugAllocator.fast", "true")
119- property(" org.lwjgl.util.DebugStack" , " true" )
120- property(" org.lwjgl.util.DebugFunctions" , " true" )
121- property(" mixin.debug.export" , " true" )
122-
123- vmArgs(" -XX:+HeapDumpOnOutOfMemoryError" , " -XX:+CreateCoredumpOnCrash" )
124- programArgs(" --username" , " Steve" , " --uuid" , " 8667ba71b85a4004af54457a9734eed7" , " --accessToken" , " ****" )
113+ systemProperties.putAll(mapOf (
114+ Pair (" lambda.dev" , " youtu.be/RYnFIRc0k6E" ),
115+ Pair (" org.lwjgl.util.Debug" , " true" ),
116+ Pair (" org.lwjgl.util.DebugStack" , " true" ),
117+ Pair (" org.lwjgl.util.DebugFunctions" , " true" ),
118+ Pair (" mixin.debug.export" , " true" )
119+ ))
120+
121+ // //property("org.lwjgl.util.DebugAllocator", "true")
122+ // //property("org.lwjgl.util.DebugAllocator.fast", "true")
123+
124+ programArguments.addAll(" --username" , " Steve" , " --uuid" , " 8667ba71b85a4004af54457a9734eed7" , " --accessToken" , " ****" )
125+ jvmArguments.addAll(" -XX:+HeapDumpOnOutOfMemoryError" , " -XX:+CreateCoredumpOnCrash" )
125126 }
126127 }
127128}
@@ -197,7 +198,7 @@ dependencies {
197198 modCompileOnly(" maven.modrinth:litematica:$litematicaVersion " )
198199
199200 // DevLogin
200- modRuntimeOnly(" com.ptsmods:devlogin:3.5" )
201+ // modRuntimeOnly("com.ptsmods:devlogin:3.5.1:fabric ")
201202
202203 // Test implementations
203204 testImplementation(kotlin(" test" ))
@@ -240,14 +241,14 @@ kotlin {
240241 freeCompilerArgs.addAll(" -Xcontext-parameters" , " -Xconsistent-data-class-copy-visibility" , " -Xannotation-default-target=param-property" )
241242 }
242243
243- jvmToolchain(21 )
244+ jvmToolchain(25 )
244245}
245246
246247java {
247248 withSourcesJar()
248249
249- sourceCompatibility = JavaVersion .VERSION_21
250- targetCompatibility = JavaVersion .VERSION_21
250+ sourceCompatibility = JavaVersion .VERSION_25
251+ targetCompatibility = JavaVersion .VERSION_25
251252}
252253
253254publishing {
0 commit comments