diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d5e367d..ac16f64 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - java: [ '8', '11', '17', '21', '22' ] + java: [ '8', '11', '17', '21', '23-ea' ] steps: - uses: actions/checkout@v4 diff --git a/build.gradle b/build.gradle index 47474ce..c5bb56c 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,11 @@ if (JavaVersion.current() <= JavaVersion.VERSION_22) { apply plugin: 'net.ltgt.errorprone' } +// TODO: Java 23: remove this code block. +if (JavaVersion.current() <= JavaVersion.VERSION_22) { + apply plugin: 'net.ltgt.errorprone' +} + repositories { mavenLocal() mavenCentral()