diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 82bcd99..6972207 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -10,10 +10,10 @@ jobs: steps: - - name: Set up JDK 16 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Cache Gradle id: cache-gradle @@ -42,10 +42,10 @@ jobs: runs-on: ubuntu-18.04 steps: - - name: Set up JDK 16 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Cache Gradle id: cache-gradle @@ -88,10 +88,10 @@ jobs: runs-on: ubuntu-18.04 steps: - - name: Set up JDK 16 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Set up Node.js v16.x uses: actions/setup-node@v1 diff --git a/build.gradle b/build.gradle index 07966f0..57d226d 100644 --- a/build.gradle +++ b/build.gradle @@ -20,8 +20,8 @@ if (project.hasProperty("local_script")) { apply from: file(local_script + "/build.local.gradle") } -sourceCompatibility = 16 -targetCompatibility = 16 +sourceCompatibility = 17 +targetCompatibility = 17 ext { mcVersion = project.property("mcVersion")