mirror of https://github.com/YatopiaMC/Yatopia.git
fix
This commit is contained in:
parent
3061c3a82a
commit
35476f2c81
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue