Skip to content

bump Gradle from 8.14.4 to 9.6.0 - #61

Merged
sspaink merged 1 commit into
open-policy-agent:mainfrom
sspaink:bump-gradle-9.6.0
Jun 22, 2026
Merged

bump Gradle from 8.14.4 to 9.6.0#61
sspaink merged 1 commit into
open-policy-agent:mainfrom
sspaink:bump-gradle-9.6.0

Conversation

@sspaink

@sspaink sspaink commented Jun 22, 2026

Copy link
Copy Markdown
Member
  • Updates the Gradle wrapper from 8.14.4 to 9.6.0. Gradle 9 requires JDK 17, which became the project's minimum in bump minimum Java version from 11 to 17 #47.
  • Adds testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.10.1") to each module that uses JUnit Jupiter. Gradle 9 no longer auto-adds the launcher to the test runtime classpath; without it, useJUnitPlatform() fails with "Failed to load JUnit Platform."

fixes the issue in the dependabot PR: #51

Gradle 9 requires JDK 17, which is now the project's minimum (open-policy-agent#47).
Gradle 9 no longer auto-adds junit-platform-launcher to the test
runtime classpath, so declare it explicitly in modules using JUnit.

Signed-off-by: Sebastian Spaink <sebastianspaink@gmail.com>
@sspaink
sspaink merged commit 9ad4b8a into open-policy-agent:main Jun 22, 2026
10 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.

1 participant