Skip to content

Fix: Disable Gradle toolchain auto-detect in native-image CI so Liberica NIK 25 wins (#251) - #366

Merged
b-re-w merged 1 commit into
developfrom
feat/disable-toolchain-autodetect-native-image-ci
Nov 4, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/disable-toolchain-autodetect-native-image-ci

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 4, 2026

Copy link
Copy Markdown
Member

Part of #191, #251

Summary

  • Pass -Porg.gradle.java.installations.auto-detect=false alongside -Porg.gradle.java.installations.paths="$GRAALVM_HOME" in .github/workflows/desktop.yml's notebook-e2e-native-image job. Even when GRAALVM_HOME is registered via installations.paths, Gradle's toolchain auto-detection scans /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/25.0.5-8.0 and picks Temurin 25.0.5 over Liberica NIK 25.0.4 because 25.0.5 > 25.0.4. Disabling auto-detection restricts JavaLanguageVersion(25) resolution to GRAALVM_HOME.

@b-re-w
b-re-w merged commit 5464619 into develop Nov 4, 2026
@b-re-w
b-re-w deleted the feat/disable-toolchain-autodetect-native-image-ci branch November 4, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant