From 876ff118d6fdc9e5546f66e0bea78a20776390bd Mon Sep 17 00:00:00 2001 From: Jimisola Laursen Date: Sun, 22 Feb 2026 23:46:34 +0100 Subject: [PATCH] chore(build): upgrade Java baseline to 17 Raises sourceCompatibility and targetCompatibility from Java 8 to Java 17. Gradle 9 already requires Java 17 to run, so Java 8 was never a realistic consumer constraint. Updates README requirements accordingly and removes the Credits section. Co-Authored-By: Claude Sonnet 4.6 --- README.adoc | 7 ++----- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.adoc b/README.adoc index a4e86c8..c4bef55 100644 --- a/README.adoc +++ b/README.adoc @@ -139,14 +139,11 @@ gradle assembleRequirements == Requirements -* Gradle 6.0+ (tested with Gradle 9.3) -* Java 8+ +* Gradle 9.0+ +* Java 17+ * A `requirements.yml` file in the dataset directory (default: `./reqstool/`) == License MIT License - see link:LICENSE[LICENSE] file for details -== Credits - -Based on link:https://github.com/Luftfartsverket/reqstool-java-maven-plugin[reqstool-java-maven-plugin] by Luftfartsverket (LFV). diff --git a/build.gradle b/build.gradle index 6da871a..39bb4fe 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,8 @@ group = 'se.lfv.reqstool' version = '0.1.0' java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } repositories {