1.19.1 update (#145)

Co-authored-by: Cloudburst <18114966+C10udburst@users.noreply.github.com>
This commit is contained in:
RacoonDog
2022-07-31 04:27:25 -04:00
committed by GitHub
parent 36bc339e74
commit 8d0ea9869e
17 changed files with 19 additions and 142 deletions

View File

@@ -80,7 +80,7 @@ tasks.withType(JavaCompile).configureEach {
// 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 = 16
def targetVersion = 17
if (JavaVersion.current().isJava9Compatible()) {
it.options.release = targetVersion
}