|
1 | | -//version: 1753288091 |
| 1 | +//version: 1762213476 |
2 | 2 | /* |
3 | 3 | * DO NOT CHANGE THIS FILE! |
4 | 4 | * Also, you may replace this file at any time if there is an update available. |
@@ -318,14 +318,6 @@ tasks.withType(ScalaCompile).configureEach { |
318 | 318 | } |
319 | 319 |
|
320 | 320 |
|
321 | | -// Allow others using this buildscript to have custom gradle code run |
322 | | -if (getFile('addon.gradle').exists()) { |
323 | | - apply from: 'addon.gradle' |
324 | | -} else if (getFile('addon.gradle.kts').exists()) { |
325 | | - apply from: 'addon.gradle.kts' |
326 | | -} |
327 | | - |
328 | | - |
329 | 321 | // Configure Minecraft |
330 | 322 |
|
331 | 323 | // Try to gather mod version from git tags if version is not manually specified |
@@ -372,11 +364,14 @@ minecraft { |
372 | 364 |
|
373 | 365 | // JVM arguments |
374 | 366 | extraRunJvmArguments.add("-ea:${modGroup}") |
| 367 | + |
| 368 | + // enable JLine Terminal since idea_rt.jar is no longer added to the classpath |
| 369 | + extraRunJvmArguments.add('-Dterminal.jline=true') |
375 | 370 | if (usesMixins.toBoolean()) { |
376 | 371 | extraRunJvmArguments.addAll([ |
377 | | - '-Dmixin.hotSwap=true', |
378 | | - '-Dmixin.checks.interfaces=true', |
379 | | - '-Dmixin.debug.export=true' |
| 372 | + '-Dmixin.hotSwap=true', |
| 373 | + '-Dmixin.checks.interfaces=true', |
| 374 | + '-Dmixin.debug.export=true' |
380 | 375 | ]) |
381 | 376 | } |
382 | 377 |
|
@@ -874,7 +869,7 @@ if (enableJava17RunTasks.toBoolean()) { |
874 | 869 | if (modId != 'lwjgl3ify') { |
875 | 870 | java17Dependencies("io.github.twilightflower:lwjgl3ify:1.0.1") |
876 | 871 | java17PatchDependencies("io.github.twilightflower:lwjgl3ify:1.0.1:forgePatches") { |
877 | | - transitive = false |
| 872 | + transitive = false |
878 | 873 | } |
879 | 874 | } |
880 | 875 | } |
@@ -1549,3 +1544,11 @@ def getLastTag() { |
1549 | 1544 | return runShell('git describe --abbrev=0 --tags ' + |
1550 | 1545 | (githubTag.isPresent() ? runShell('git rev-list --tags --skip=1 --max-count=1') : '')) |
1551 | 1546 | } |
| 1547 | + |
| 1548 | + |
| 1549 | +// Allow others using this buildscript to have custom gradle code run |
| 1550 | +if (getFile('addon.gradle').exists()) { |
| 1551 | + apply from: 'addon.gradle' |
| 1552 | +} else if (getFile('addon.gradle.kts').exists()) { |
| 1553 | + apply from: 'addon.gradle.kts' |
| 1554 | +} |
0 commit comments