From c1ae7f72c20cb95953a1edf780fc62f3e24d9d22 Mon Sep 17 00:00:00 2001 From: Chris Allan Date: Thu, 11 Jan 2024 10:49:13 +0000 Subject: [PATCH] Drop Java 8, add Java 17 --- .github/workflows/build.yml | 2 +- build.gradle | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 371af10..4ad5b9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: build: strategy: matrix: - java: [8, 11] + java: [11, 17] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: diff --git a/build.gradle b/build.gradle index 1ffc306..3a2ec16 100644 --- a/build.gradle +++ b/build.gradle @@ -9,8 +9,9 @@ version = '0.3.1-SNAPSHOT' mainClassName = 'com.glencoesoftware.ldaptool.Main' -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +compileJava { + options.release = 11 +} repositories { mavenCentral()