diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 884907a1..ea785850 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -9,11 +9,11 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Set up JDK 16 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: 16 + java-version: 17 - name: Setup run: chmod +x gradlew && ./gradlew setup - name: Build with Gradle diff --git a/README.md b/README.md index 016198d9..edda2e16 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ 1.13->1.18.1 ### Important -1.17+ Needs JDK 16 +1.17 Needs JDK 16 +1.18 Needs JDK 17 ### How to use diff --git a/build.gradle b/build.gradle index 0a5fd1da..e07a3c40 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ println(' Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getProperty('java.vm.version') + '(' + System.getProperty('java.vendor') + ')' + ' Arch: ' + System.getProperty('os.arch')) -java.toolchain.languageVersion = JavaLanguageVersion.of(16) +java.toolchain.languageVersion = JavaLanguageVersion.of(17) configurations { shade