Skip to content

fix: remove hardcoded local JDK path from gradle.properties#69

Merged
tstapler merged 1 commit intomainfrom
copilot/fix-failing-github-actions
May 3, 2026
Merged

fix: remove hardcoded local JDK path from gradle.properties#69
tstapler merged 1 commit intomainfrom
copilot/fix-failing-github-actions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 3, 2026

All CI jobs were failing immediately because a developer's local JDK path was committed to gradle.properties:

org.gradle.java.home=/home/tstapler/.gradle/jdks/eclipse_adoptium-17-amd64-linux.2

This path doesn't exist on GitHub Actions runners, causing every Gradle invocation to abort with Java home supplied is invalid before any build work could start.

Removed the org.gradle.java.home override from the shared gradle.properties. CI already provisions JDK 21 via actions/setup-java@v4. Developers who need to pin the daemon JVM locally (e.g. to work around the Kotlin 2.0.20 + JDK 25 version-string parse crash) should set org.gradle.java.home in their personal ~/.gradle/gradle.properties instead.

@tstapler tstapler marked this pull request as ready for review May 3, 2026 19:28
Copilot AI review requested due to automatic review settings May 3, 2026 19:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes a developer-specific org.gradle.java.home override from the repo’s shared gradle.properties so Gradle doesn’t fail on CI runners that don’t have that local JDK path. This aligns the build with the existing GitHub Actions setup that provisions a JDK explicitly.

Changes:

  • Removed the hardcoded org.gradle.java.home=/home/... entry (and related comments) from gradle.properties.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tstapler tstapler merged commit ca27eda into main May 3, 2026
14 of 21 checks passed
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.

3 participants