Skip to content

Commit

Permalink
fix: upgrade to matching gradle-wrapper for jdk 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Silthus committed Sep 28, 2021
1 parent 2667d0c commit 7e35ba7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ publishing {
javadoc {
if(JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
options.addStringOption('Xdoclint:none', '-quiet')
}
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-7.3-20210928002732+0000-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 7e35ba7

Please sign in to comment.