From 971aa22e95b396edb54b124ae37ffe9afe5d5b09 Mon Sep 17 00:00:00 2001 From: Mariano Barrios Date: Wed, 1 Nov 2023 13:22:10 +0100 Subject: [PATCH] Build for Java 21 --- .github/workflows/main.yml | 2 +- build.gradle | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae58a1ae..0f64085d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: [ 8, 11, 17, 20 ] + java-version: [ 8, 11, 17, 21 ] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v3 diff --git a/build.gradle b/build.gradle index ce4b945a..c071e175 100644 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,7 @@ plugins { id 'maven-publish' // pinned version due to Java 8 compatibility id "com.diffplug.spotless" version "6.11.0" - // pinned version due to https://github.com/spotbugs/spotbugs/issues/2041 - id "com.github.spotbugs" version "5.0.13" + id "com.github.spotbugs" version "5.2.1" } compileJava {