From 8dfe4d94765cb09930f4e38a29a3ec87a175d947 Mon Sep 17 00:00:00 2001 From: GT Date: Fri, 18 Sep 2026 15:18:28 +0200 Subject: [PATCH] Upgrade to JDK 27 Co-Authored-By: Claude Fable 5.1 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- README.md | 6 +++--- build.gradle.kts | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a004df9..bbe194f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-java@v5 with: - distribution: oracle - java-version: '26' + distribution: liberica + java-version: '27' - uses: gradle/actions/setup-gradle@v5 - name: Build, test, and verify publications run: ./gradlew clean build publishToMavenLocal diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 96d2e08..fcf282a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,8 +20,8 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-java@v5 with: - distribution: temurin - java-version: '26' + distribution: liberica + java-version: '27' - uses: gradle/actions/setup-gradle@v5 - name: Check release version run: | diff --git a/README.md b/README.md index 85577e0..5cf6042 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Brev -**Current Peppol, as one modular JDK 26 library.** +**Current Peppol, as one modular JDK 27 library.** Brev is a dependency-free JVM library for constructing, writing, reading, and later transporting current Peppol business documents. It lives in **one @@ -23,7 +23,7 @@ Brev occupies the opposite corner: - one repo, independently published modules; - current Peppol only; -- JDK 26 baseline, no older-Java tax; +- JDK 27 baseline, no older-Java tax; - typed documents instead of the full UBL schema; - zero third-party runtime dependencies in every published module. @@ -91,7 +91,7 @@ Unsupported Peppol Billing features fail through the absence of an API. ## Building -Brev requires JDK 26. +Brev requires JDK 27. ```shell ./gradlew clean build diff --git a/build.gradle.kts b/build.gradle.kts index 9d0a832..349ee24 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -33,7 +33,7 @@ allprojects { subprojects { plugins.withId("java") { extensions.configure { - toolchain.languageVersion.set(JavaLanguageVersion.of(26)) + toolchain.languageVersion.set(JavaLanguageVersion.of(27)) } dependencies { @@ -43,7 +43,7 @@ subprojects { } tasks.withType().configureEach { - options.release.set(26) + options.release.set(27) options.compilerArgs.addAll(listOf("-Xlint:all", "-Werror")) }