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