diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cff5c13..813e9ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: temurin - name: Build with Gradle run: ./gradlew build diff --git a/build.gradle b/build.gradle index 0cfe925..5bf31a7 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ allprojects { } pluginManager.withPlugin('java') { java { - sourceCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 withSourcesJar() withJavadocJar() }