diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a6cef6a5..610ca7a43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '11' + java-version: '17' - name: Build and test uses: gradle/gradle-build-action@v2 with: diff --git a/build.gradle b/build.gradle index 6e50cd7a7..77a7c6627 100644 --- a/build.gradle +++ b/build.gradle @@ -28,8 +28,8 @@ java { } compileJava { - sourceCompatibility = '11' - targetCompatibility = '11' + sourceCompatibility = '17' + targetCompatibility = '17' } configurations {