Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
d4ec97f
refactor: Handle Minecraft's new version format
null2264 Jan 7, 2026
4858e86
fix: Fix build
null2264 Jan 7, 2026
1a0c300
fix: GitHub Action can't cope with empty array
null2264 Jan 7, 2026
2b752e8
fix: Malformed json
null2264 Jan 7, 2026
122f320
fix: Fix neo build
null2264 Jan 7, 2026
2afc809
ci: Update mc-runtime-test
null2264 Jan 7, 2026
c301e10
chore(deps): 26.1 uses Java 25
null2264 Jan 7, 2026
9272690
fix(deps): Update fabric loader to v0.18.4
null2264 Jan 7, 2026
17fa3fb
fix: Use the correct version code format
null2264 Jan 7, 2026
a967aba
fix(buildSrc): Support snapshot
null2264 Jan 7, 2026
26522d9
fix: List.get
null2264 Jan 7, 2026
8fd5991
fix: 26.1 use Java 25
null2264 Jan 7, 2026
5ddd75b
chore(deps): Update gradle to v9.2.1
null2264 Jan 8, 2026
496ae77
fix: Force java version on RunGame task
null2264 Jan 8, 2026
be04897
fix: Remove mappings for MC 26.1
null2264 Jan 8, 2026
496ad35
refactor(mclib): Back to using sponge's gradle
null2264 Jan 8, 2026
f004e2a
fix(deps): Update shadow
null2264 Jan 8, 2026
d443f79
fix(deps): Update spongegradle
null2264 Jan 8, 2026
c9ef27a
fix: Gradle pain
null2264 Jan 8, 2026
0215722
fix: Accidentally downgrade sponge gradle
null2264 Jan 8, 2026
3bb86f3
fix: Disable obfuscation
null2264 Jan 8, 2026
06125ee
fix: Disable mappings already ffs
null2264 Jan 8, 2026
2fbc859
fix: wtf?
null2264 Jan 8, 2026
28f1a9a
revert: "wtf?"
null2264 Jan 8, 2026
0e4fcf4
fix: wtf???
null2264 Jan 8, 2026
55d372b
fix: arch-plugin
null2264 Jan 8, 2026
d225297
revert: "arch-plugin"
null2264 Jan 8, 2026
0f54a2f
fix: Add shedaniel maven
null2264 Jan 8, 2026
0afdbcd
fix: wtf???
null2264 Jan 8, 2026
22af9b7
revert: wtf???????
null2264 Jan 8, 2026
c2049a7
fix: wtf?!!
null2264 Jan 8, 2026
7a25ff5
fix: Yep
null2264 Jan 9, 2026
b774662
fix: Import Locale
null2264 Jan 9, 2026
e143b82
fix: Don't remap jar for 26.1
null2264 Jan 9, 2026
182e8cb
fix: 26.1-snapshot-2
null2264 Jan 9, 2026
9b605ff
fix: Use the unformatted one
null2264 Jan 9, 2026
390ec7b
chore: Default to 26.1 fabric
null2264 Jan 9, 2026
6c33a70
ci: Use Microsoft's JDK
null2264 Jan 9, 2026
d0e08b4
revert: "Use Microsoft's JDK"
null2264 Jan 10, 2026
b754087
fix: Don't enable EMI just yet
null2264 Jan 20, 2026
acb633a
fix: Mixin is missing for Fabric 26.1, hopefully runtime is fine
null2264 Jan 20, 2026
c322b17
refactor: WIP migration to MDG
null2264 Jan 29, 2026
f5491fa
fix: Loom is not legacy
null2264 Jan 29, 2026
cf2754f
fix: minecraft() is a Loom API
null2264 Jan 29, 2026
d7883ba
fix: forgeRuntimeLibrary only available on Forge-like
null2264 Jan 29, 2026
68d984e
fix: .versioned(...) not .version(...)
null2264 Jan 29, 2026
0cce859
fix: Check neo first
null2264 Jan 29, 2026
cc7ceea
fix: Rename neoForge to NEO to avoid conflict
null2264 Jan 29, 2026
441c356
fix: .version not .versioned
null2264 Jan 29, 2026
205a045
fix: Create instead of named
null2264 Jan 29, 2026
cd3f0d3
fix: Fix build
null2264 Jan 29, 2026
93f4e92
fix: Disable IDE run for gametest
null2264 Jan 29, 2026
6af1fdd
fix: Classic plural vs singular
null2264 Jan 29, 2026
dbeda06
refactor: Simplify configure methods and handle mixin
null2264 Jan 29, 2026
ddd59a8
fix: RemapJarTask doesn't exists on MDG
null2264 Jan 29, 2026
063f927
fix: Legacy should use lexForge not neo
null2264 Jan 29, 2026
832c11e
docs: Add FIXME note [skip ci]
null2264 Jan 29, 2026
ac0cbb5
chore: AT
null2264 Jan 30, 2026
f7ce076
fix: Fix shaded jars
null2264 Jan 30, 2026
5931d00
fix: Different approach to fix shaded jars
null2264 Jan 30, 2026
64c9d13
fix: Don't do productionJar on legacy loom
null2264 Jan 30, 2026
87e2983
fix: Explicitly declare depends on jar
null2264 Jan 30, 2026
2d0df6f
fix: REI moment again
null2264 Jan 30, 2026
0d878a5
fix: Include shaded deps to runtime classpath
null2264 Jan 30, 2026
0c9f462
fix: Add mixin processor AP
null2264 Jan 30, 2026
5f06593
fix: Wtf? "Configuration with name 'additionalRuntimeClasspath' not f…
null2264 Jan 30, 2026
ce09c21
fix: Extend after evaluate
null2264 Jan 30, 2026
fa8b854
fix: Also add internal lib to additional runtime classpath
null2264 Jan 30, 2026
e03a09e
fix: Extends from compile internal instead
null2264 Jan 30, 2026
e564820
fix: Finalize jar with reobfJar
null2264 Jan 30, 2026
8d27343
refactor: Replace VanillaGradle with Neo's MDG in Vanilla-mode
null2264 Jan 30, 2026
6fe3d39
fix: Apply plugin not file
null2264 Jan 30, 2026
dc6a1e1
revert: "Replace VanillaGradle with Neo's MDG in Vanilla-mode"
null2264 Jan 30, 2026
d348b17
ci: Disable gradle gametest for Forge 1.18.2-1.20.1
null2264 Jan 30, 2026
e36ce82
chore: Set gradle.properties value back to 26.1 fabric
null2264 Jan 30, 2026
b246ae4
refactor: CGVer to start cleaning up gradle setup
null2264 Jan 31, 2026
233eb35
ci: Fix build
null2264 Jan 31, 2026
759eda5
Merge branch 'root' into feat/26.1
null2264 Jan 31, 2026
60d270a
ci: Nvm, action didn't run because there is a merge conflict, shoulda…
null2264 Jan 31, 2026
1f8857c
fix: Fix regression
null2264 Jan 31, 2026
2b63514
ci: Retry building with gradle 5 times
null2264 Jan 31, 2026
96dcfdf
ci: err should be c
null2264 Jan 31, 2026
1382f72
refactor: Add sourceSet instead of shadowing
null2264 Jan 31, 2026
1a4ce05
fix: Increase -Xmx
null2264 Jan 31, 2026
a89cfb1
refactor: WIP split
null2264 Jan 31, 2026
44c980e
refactor: WIP split 2
null2264 Feb 1, 2026
efe8ac2
refactor: WIP split 3
null2264 Feb 1, 2026
62db445
refactor: WIP split 4
null2264 Feb 1, 2026
4eac70c
refactor: WIP split 5
null2264 Feb 1, 2026
181763c
refactor: WIP split 6
null2264 Feb 1, 2026
53e34c4
refactor: WIP split 7
null2264 Feb 2, 2026
ee07ea2
ci: Don't retry on err code 1 and kill daemon before retrying
null2264 Feb 2, 2026
6f0e51b
fix: Forge now run... kinda
null2264 Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Retrieve JSON
run: |
curl -Ls -o "headlessmc.json" "https://api.github.com/repos/3arthqu4ke/headlessmc/releases/tags/2.7.1" --header "Authorization: ${{ secrets.GITHUB_TOKEN }}"
curl -Ls -o "mc-runtime-test.json" "https://api.github.com/repos/null2264/mc-runtime-test/releases/tags/5.2.3" --header "Authorization: ${{ secrets.GITHUB_TOKEN }}"
curl -Ls -o "mc-runtime-test.json" "https://api.github.com/repos/null2264/mc-runtime-test/releases/tags/5.2.5" --header "Authorization: ${{ secrets.GITHUB_TOKEN }}"

- name: Upload jar files
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -98,6 +98,7 @@ jobs:
8
17
21
25
gradle-no-cache-if: true

- name: Setup properties
Expand All @@ -106,7 +107,27 @@ jobs:

- name: Build with Gradle
run: |
./gradlew build -PmcVer="${{ matrix.mc }}" -Pnull2264.platform="${{ matrix.loader }}"
# Retry 5 times because TerraformersMC's Maven keep having a stroke
# and there's no way to workaround it through Gradle as there are no
# public API for it. So we just need to deal with it I guess.
#
# REF: https://discuss.gradle.org/t/how-to-deal-with-network-flakiness-impacting-gradle-builds/25705/3
# REF: https://github.com/gradle/gradle/issues/4629
# REF: https://github.com/gradle/gradle/issues/2779
tries=1
c="0"
while [ $tries -le 5 ];
do
./gradlew build -PmcVer="${{ matrix.mc }}" -Pnull2264.platform="${{ matrix.loader }}" && exit 0
c="$?"
echo "Try $tries failed. (code:$c)"
[ "$c" = "1" ] && break
./gradlew --stop # this should free up the memory so we didn't encounter OutOfMemory err
sleep 5s
tries=$((tries+1))
done

[ "$c" = "0" ] || exit 1
env:
VERSION: ${{ github.event.inputs.version == '' && '0.0.0' || github.event.inputs.version }}

Expand All @@ -130,7 +151,7 @@ jobs:
retention-days: 3

- name: GameTest with Gradle
if: github.event.inputs.bypass-test != 'true' && matrix.mc != '1.16.5'
if: github.event.inputs.bypass-test != 'true' && matrix.gradleGameTest
run: |
echo "# GameTest results" >> $GITHUB_STEP_SUMMARY;
echo "<table>" >> $GITHUB_STEP_SUMMARY;
Expand Down
Loading
Loading