This commit is contained in:
2021-12-02 21:04:24 +01:00
parent cb1c2ef35e
commit 4db8aff792
3 changed files with 4 additions and 4 deletions

View File

@ -46,8 +46,8 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8"
// Minecraft 1.17 (21w19a) upwards uses Java 16.
it.options.release = 16
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 17
}
java {