This commit is contained in:
Tofik ♡ 2021-06-11 13:46:28 +02:00 committed by GitHub
parent 3061c3a82a
commit 35476f2c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -62,7 +62,11 @@ subprojects {
if(JavaVersion.VERSION_16 > JavaVersion.current()){
error("This build must be run with atleast Java 16 or newer")
}
options.release.set(16)
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
withSourcesJar()
}
tasks.withType<JavaCompile>().configureEach {
options.release.set(16)
}