Skip to content

Commit 42e9a89

Browse files
authored
Merge branch 'master' into zb/miner-mui2-and-lang-fix
2 parents 60dfb04 + 875d79a commit 42e9a89

File tree

104 files changed

+994
-1179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+994
-1179
lines changed

.github/actions/build_setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ runs:
1212

1313
steps:
1414
- name: Set up JDK 17
15-
uses: actions/setup-java@v4
15+
uses: actions/setup-java@v5
1616
with:
1717
distribution: zulu
1818
java-version: 17
1919

2020
- name: Setup Gradle
21-
uses: gradle/actions/setup-gradle@v3
21+
uses: gradle/actions/setup-gradle@v5
2222
with:
2323
cache-write-only: ${{ inputs.update-cache }}
2424
generate-job-summary: false

.github/workflows/format_java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout Repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424

2525
- name: Setup Build
2626
uses: ./.github/actions/build_setup

.github/workflows/publish_project.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ jobs:
2929

3030
steps:
3131
- name: Checkout Repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333

3434
- name: Setup Build
3535
uses: ./.github/actions/build_setup
3636

37+
# When updating to RFG 2.0, enable Gradle Configuration Cache
38+
# https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data
3739
- name: Build Project
3840
run: ./gradlew build --warning-mode all --build-cache
3941

.github/workflows/test_java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout Repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424

2525
- name: Setup Build
2626
uses: ./.github/actions/build_setup

.github/workflows/update_buildscript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout Repository
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323

2424
- name: Setup Build
2525
uses: ./.github/actions/build_setup
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Create Pull Request
3737
id: create-pull-request
38-
uses: peter-evans/create-pull-request@v6
38+
uses: peter-evans/create-pull-request@v7
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.BUILDSCRIPT_UPDATER_TOKEN }}
4141
with:

.github/workflows/update_gradle_cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout Repository
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- name: Setup Build
2727
uses: ./.github/actions/build_setup

.github/workflows/validate_gradle_wrapper.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

build.gradle

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//version: 1753288091
1+
//version: 1762213476
22
/*
33
* DO NOT CHANGE THIS FILE!
44
* Also, you may replace this file at any time if there is an update available.
@@ -318,14 +318,6 @@ tasks.withType(ScalaCompile).configureEach {
318318
}
319319

320320

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-
329321
// Configure Minecraft
330322

331323
// Try to gather mod version from git tags if version is not manually specified
@@ -372,11 +364,14 @@ minecraft {
372364

373365
// JVM arguments
374366
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')
375370
if (usesMixins.toBoolean()) {
376371
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'
380375
])
381376
}
382377

@@ -874,7 +869,7 @@ if (enableJava17RunTasks.toBoolean()) {
874869
if (modId != 'lwjgl3ify') {
875870
java17Dependencies("io.github.twilightflower:lwjgl3ify:1.0.1")
876871
java17PatchDependencies("io.github.twilightflower:lwjgl3ify:1.0.1:forgePatches") {
877-
transitive = false
872+
transitive = false
878873
}
879874
}
880875
}
@@ -1549,3 +1544,11 @@ def getLastTag() {
15491544
return runShell('git describe --abbrev=0 --tags ' +
15501545
(githubTag.isPresent() ? runShell('git rev-list --tags --skip=1 --max-count=1') : ''))
15511546
}
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+
}

dependencies.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040
dependencies {
4141
// Published dependencies
4242
api("codechicken:codechickenlib:3.2.3.358")
43-
api("com.cleanroommc:modularui:2.5.0-rc4") { transitive = false }
43+
api("com.cleanroommc:modularui:3.0.4") { transitive = false }
4444
api("com.cleanroommc:groovyscript:1.2.0-hotfix1") { transitive = false }
45-
api("curse.maven:inventory-bogosorter-632327:4951607-deobf-4951608-sources-4951609")
45+
api("curse.maven:inventory-bogosorter-632327:7102721-deobf-6717233-sources-6717234") // Inventory BogoSorter − v1.5.0
46+
api("curse.maven:key-binding-patch-928895:5951859") // Key Binding Patch v1.3.3.3, needed by Inventory BogoSorter v1.5.0+
4647
api("CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.20.700")
4748
api("appeng:ae2-uel:v0.56.4") { transitive = false }
4849
api rfg.deobf("curse.maven:ctm-267602:2915363") // CTM 1.0.2.31

src/main/java/gregtech/GregTechMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
acceptedMinecraftVersions = "[1.12.2,1.13)",
3232
version = GTInternalTags.VERSION,
3333
dependencies = "required:forge@[14.23.5.2847,);" + "required-after:codechickenlib@[3.2.3,);" +
34-
"required-after:modularui@[2.5.0-rc,);" + "required-after:mixinbooter@[8.0,);" +
34+
"required-after:modularui@[3.0.4,);" + "required-after:mixinbooter@[8.0,);" +
3535
"after:appliedenergistics2;" +
3636
"after:forestry;" + "after:extrabees;" + "after:extratrees;" + "after:genetics;" + "after:magicbees;" +
3737
"after:jei@[4.15.0,);" + "after:crafttweaker@[4.1.20,);" + "after:groovyscript@[1.2.0,);" +

0 commit comments

Comments
 (0)