change to java 17

This commit is contained in:
MidnightTale 2024-05-28 04:37:37 +07:00
commit 672f3d2b94
No known key found for this signature in database
GPG key ID: 62B4D548A5160CFE

View file

@ -17,7 +17,7 @@ dependencies {
compileOnly "dev.folia:folia-api:1.20.4-R0.1-SNAPSHOT"
}
def targetJavaVersion = 21
def targetJavaVersion = 17
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion