9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-19 15:09:25 +00:00

Downgrade to Java 17

This commit is contained in:
Dreeam
2024-03-13 14:25:38 -04:00
parent c672a48386
commit de147d26a4
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -27,13 +27,13 @@ subprojects {
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks.withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name()
options.release.set(21)
options.release.set(17)
}
tasks.withType<Javadoc> {
options.encoding = Charsets.UTF_8.name()