diff --git a/README.md b/README.md index 6ac8104c..366a66ec 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ ## 📥 Download You can find latest successful build in [GitHub Action](https://github.com/Winds-Studio/Leaf/actions) or [Releases](https://github.com/Winds-Studio/Leaf/releases) -**Please note Java >= 21 is required.** +**Please note Java >= 17 is required, Java >= 21 is recommended.** ## 📦 Building Building a Paperclip JAR for distribution: diff --git a/build.gradle.kts b/build.gradle.kts index 2ea6c2bb..91ef736c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,13 +27,13 @@ subprojects { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(21)) + languageVersion.set(JavaLanguageVersion.of(17)) } } tasks.withType { options.encoding = Charsets.UTF_8.name() - options.release.set(21) + options.release.set(17) } tasks.withType { options.encoding = Charsets.UTF_8.name()