Skip to content

Commit

Permalink
Updated JDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexeption committed Dec 13, 2021
1 parent b14df1c commit 82b17aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82b17aa

Please sign in to comment.