diff options
author | Jason Penilla <[email protected]> | 2021-11-22 00:26:14 -0800 |
---|---|---|
committer | MiniDigger | Martin <[email protected]> | 2021-11-30 19:26:33 +0100 |
commit | d3f17db87df4a240717557fc6ca06d2eb0796aed (patch) | |
tree | 99c6471ddc6b74a07759953f04a05206489bfae5 | |
parent | 67069e1e7424115d67a04719217b13779ae11aae (diff) | |
download | Paper-d3f17db87df4a240717557fc6ca06d2eb0796aed.tar.gz Paper-d3f17db87df4a240717557fc6ca06d2eb0796aed.zip |
java 17
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | build.gradle.kts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf6b146669..51bf4958a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [16] + java: [17] fail-fast: true steps: - uses: actions/[email protected] diff --git a/build.gradle.kts b/build.gradle.kts index 0ac4033fa7..68fdf453f1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ allprojects { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(16)) + languageVersion.set(JavaLanguageVersion.of(17)) } } } @@ -19,7 +19,7 @@ allprojects { subprojects { tasks.withType<JavaCompile> { options.encoding = Charsets.UTF_8.name() - options.release.set(16) + options.release.set(17) } tasks.withType<Javadoc> { options.encoding = Charsets.UTF_8.name() |