BUMP Version in config, update build.gradle from template

This commit is contained in:
Hiajen Hiajen 2022-09-22 13:00:01 +02:00
parent a31b01aa03
commit 2e08945054
2 changed files with 5 additions and 11 deletions

View file

@ -52,13 +52,7 @@ tasks.withType(JavaCompile).configureEach {
// If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8"
// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too
// JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used.
// We'll use that if it's available, but otherwise we'll use the older option.
//def targetVersion = 8
//if (JavaVersion.current().isJava9Compatible()) {
// it.options.release = targetVersion
//}
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 17
}