Skip to content

Add Gradle JVM version validation - #5

Merged
shossain786 merged 1 commit into
seleniumboot:mainfrom
krishika08:fix/validate-gradle-jdk
Sep 16, 2026
Merged

shossain786 merged 1 commit into
seleniumboot:mainfrom
krishika08:fix/validate-gradle-jdk

Conversation

@krishika08

@krishika08 krishika08 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Added an early Gradle JVM version check in settings.gradle.kts.

The build now fails with a clear message when Gradle is launched with a JDK outside the supported 17–21 range, instead of allowing an unclear Gradle error to surface later.

Verification

  • Verified the build works with JDK 21.
  • Verified the validation rejects an unsupported JDK version.
  • Verified buildPlugin verifyPlugin --no-configuration-cache succeeds.
  • Ran git diff --check successfully.

No other project files were changed.

Fixes #4

@shossain786
shossain786 merged commit 8ecc624 into seleniumboot:main Sep 16, 2026
1 check 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.

Plugin build fails on JDK 22+ with an unhelpful error instead of the README's documented guidance

2 participants