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()