From 011e33af3ce81e8d17ace3b9cd3a06cd741fcd37 Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Sat, 7 Mar 2026 19:31:40 +0100 Subject: [PATCH] chore!: set minimum Java version to 21 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 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 5b50bfd..91ed564 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,8 @@ group = 'io.github.reqstool' version = '0.1.0' java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } repositories {