Skip to content

Update CI to Java 17 and restore Gradle wrapper compatibility - #234

Open
funivan with Copilot wants to merge 4 commits into
dependabot/gradle/gradle-wrapper-9.7.1from
copilot/update-jvm
Open

Update CI to Java 17 and restore Gradle wrapper compatibility#234
funivan with Copilot wants to merge 4 commits into
dependabot/gradle/gradle-wrapper-9.7.1from
copilot/update-jvm

Conversation

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown

The failing Test workflow was still provisioning Java 11 even though the build now requires Java 17+. This updates the CI runtime to match the build requirements and restores a Gradle wrapper version that remains compatible with the current IntelliJ Gradle plugin.

  • Root cause

    • actions/setup-java in CI pinned the job to Java 11
    • Gradle then failed immediately with:
      Gradle requires JVM 17 or later to run. Your build is currently configured to use JVM 11.
      
  • Workflow updates

    • move both Test and Release workflows to actions/setup-java@v5
    • provision Temurin Java 17 explicitly in each workflow
  • Build compatibility

    • revert the Gradle wrapper from 9.7.1 to 8.0
    • keep the wrapper aligned with the repository’s current org.jetbrains.intellij plugin line, which is not compatible with Gradle 9
  • Result

    • CI now uses the required JVM version
    • the workflow configuration and wrapper version are consistent with the project’s current build stack

Co-authored-by: funivan <425208+funivan@users.noreply.github.com>
@funivan

funivan commented Sep 2, 2026

Copy link
Copy Markdown
Owner

@copilot update gradle to latest compatible version

Co-authored-by: funivan <425208+funivan@users.noreply.github.com>

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Author

@copilot update gradle to latest compatible version

Updated in aa9c0a3 to Gradle 8.14.5, the latest Gradle 8.x release that remains compatible with the current org.jetbrains.intellij 1.17.4 plugin line.

Copilot AI requested a review from funivan September 2, 2026 10:52
@funivan

funivan commented Sep 2, 2026

Copy link
Copy Markdown
Owner

@copilot can we upgrade jvm to latest version and gradle to the latest one ?

Co-authored-by: funivan <425208+funivan@users.noreply.github.com>

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Author

@copilot can we upgrade jvm to latest version and gradle to the latest one ?

Updated in 13d90e6. CI now runs on Temurin 25, the wrapper is back on Gradle 9.7.1, and the build was migrated to org.jetbrains.intellij.platform 2.x so the latest Gradle line is supported while the plugin bytecode target stays on Java 17 for IDE compatibility.

Co-authored-by: funivan <425208+funivan@users.noreply.github.com>
Copilot AI requested a review from funivan September 2, 2026 18:33
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.

2 participants