Updated JDK version

This commit is contained in:
Hexeption
2021-12-13 16:49:41 +00:00
parent b14df1c3d3
commit 82b17aa876
3 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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