mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2026-01-04 15:41:40 +00:00
Ability to use Virtual Thread for async scheduler (#30)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
plugins {
|
||||
java
|
||||
`maven-publish`
|
||||
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
|
||||
id("com.github.johnrengelman.shadow") version "8.1.1" apply false // paperweight required this original shadow
|
||||
id("io.github.goooler.shadow") version "8.1.7" apply false
|
||||
id("io.papermc.paperweight.patcher") version "1.5.12-SNAPSHOT"
|
||||
}
|
||||
|
||||
@@ -26,13 +27,13 @@ subprojects {
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.encoding = Charsets.UTF_8.name()
|
||||
options.release.set(17)
|
||||
options.release.set(21)
|
||||
}
|
||||
tasks.withType<Javadoc> {
|
||||
options.encoding = Charsets.UTF_8.name()
|
||||
|
||||
Reference in New Issue
Block a user