Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 10 additions & 15 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
branch: buildjre17-21
name: jre21-pojav

- name: Get JRE25
uses: dawidd6/action-download-artifact@v9
with:
workflow: build.yml
path: app_pojavlauncher/src/main/assets/components/jre-25
workflow_conclusion: completed
repo: FCL-Team/Android-OpenJDK-Build
branch: Build_JRE_25
name: jre25-multiarch

- uses: gradle/actions/setup-gradle@v4
with:
validate-wrappers: false
Expand All @@ -83,17 +93,9 @@ jobs:
gradle :app_pojavlauncher:assembleDebug
mv app_pojavlauncher/build/outputs/apk/debug/app_pojavlauncher-debug.apk out/app-debug.apk

- name: Build APK without runtime
run: |
rm -r app_pojavlauncher/src/main/assets/components/jre
rm -r app_pojavlauncher/src/main/assets/components/jre-new
rm -r app_pojavlauncher/src/main/assets/components/jre-21
gradle assembleDebug
mv app_pojavlauncher/build/outputs/apk/debug/app_pojavlauncher-debug.apk out/app-debug-noruntime.apk
- name: Gen md5sums
run: |
md5sum out/app-debug.apk > out/app-debug.md5
md5sum out/app-debug-noruntime.apk > out/app-debug-noruntime.md5

- name: Upload APK
uses: actions/upload-artifact@v4
Expand All @@ -117,10 +119,3 @@ jobs:
releaseFiles: out/app-gplay.aab
track: internal
inAppUpdatePriority: 5

- name: Upload APK (without runtime)
uses: actions/upload-artifact@v4
with:
name: app-debug-noruntime
path: out/app-debug-noruntime.*

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20251214-added-javaagent-preloader
20260119-java25-support
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ private static void showRuntimeFail(Activity activity, JMinecraftVersionList.Ver

private enum InternalRuntime {
JRE_17(17, "Internal-17", "components/jre-new"),
JRE_21(21, "Internal-21", "components/jre-21");
JRE_21(21, "Internal-21", "components/jre-21"),
JRE_25(25, "Internal-25", "components/jre-25");
public final int majorVersion;
public final String name;
public final String path;
Expand Down
Loading