From 0fe24c575f1d6bb733952560f09bed854fc0d4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tofik=20=E2=99=A1?= <62406295+Toffikk@users.noreply.github.com> Date: Mon, 14 Jun 2021 21:11:18 +0200 Subject: [PATCH] Update build.gradle.kts --- build.gradle.kts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 1c44955c..ba43c32c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,8 +24,8 @@ toothpick { forkVersion = "git-$forkName-$currentBranch-$versionTag" forkUrl = "https://github.com/YatopiaMC/Yatopia" - minecraftVersion = "1.16.5" - nmsPackage = "1_16_R3" + minecraftVersion = "1.17" + nmsPackage = "1_17_R1" nmsRevision = "R0.1-SNAPSHOT" upstream = "Paper" @@ -62,11 +62,11 @@ subprojects { } java { - if(JavaVersion.VERSION_1_8 > JavaVersion.current()){ - error("This build must be run with Java 8 or newer") + if(JavaVersion.VERSION_16 > JavaVersion.current()){ + error("This build must be run with Java 16 or newer") } - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_16 + targetCompatibility = JavaVersion.VERSION_16 withSourcesJar() } @@ -74,6 +74,7 @@ tasks.withType().configureEach { options.isIncremental = true options.isFork = true options.encoding = "UTF-8" + options.release.set(16) } }