Skip to content

chore!: set minimum Java version to 21#38

Merged
jimisola merged 3 commits intomainfrom
chore/fix-version-requirements
Mar 7, 2026
Merged

chore!: set minimum Java version to 21#38
jimisola merged 3 commits intomainfrom
chore/fix-version-requirements

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 7, 2026

Summary

  • Update sourceCompatibility and targetCompatibility from VERSION_17 to VERSION_21
  • Matches reqstool-java-annotations which already targets Java 21
  • CI already builds and tests with Java 21 — no workflow changes needed

BREAKING CHANGE: Minimum Java version is now 21 (was 17).

Context

Part of Phase 9.2 of the documentation overhaul. The annotations module already requires Java 21, so the ecosystem minimum is effectively Java 21 regardless. Keeping the plugin at 17 creates a false compatibility signal.

Test plan

  • CI build passes (already uses Java 21)
  • No source code changes needed (bytecode target only)

Update sourceCompatibility and targetCompatibility from VERSION_17 to
VERSION_21 to match the reqstool-java-annotations module. CI already
builds with Java 21.

BREAKING CHANGE: Minimum Java version is now 21 (was 17).

Signed-off-by: jimisola <jimisola@jimisola.com>
@jimisola jimisola self-assigned this Mar 7, 2026
@jimisola jimisola merged commit 1379bb9 into main Mar 7, 2026
6 checks passed
@jimisola jimisola deleted the chore/fix-version-requirements branch March 7, 2026 19:50
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