From aaf38f46fb32c4aaf984b535d5dcc593bdab7390 Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Thu, 14 Dec 2023 17:47:00 -0800 Subject: [PATCH] Target Java 17 --- bootstrap/fabric/build.gradle.kts | 6 ------ .../src/main/kotlin/geyser.base-conventions.gradle.kts | 2 +- build.gradle.kts | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/bootstrap/fabric/build.gradle.kts b/bootstrap/fabric/build.gradle.kts index ea1fef2b7..66af130b3 100644 --- a/bootstrap/fabric/build.gradle.kts +++ b/bootstrap/fabric/build.gradle.kts @@ -5,12 +5,6 @@ plugins { id("com.modrinth.minotaur") version "2.+" } -indra { - javaVersions { - target(17) - } -} - dependencies { //to change the versions see the gradle.properties file minecraft(libs.fabric.minecraft) diff --git a/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts b/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts index 95d4d5409..01c769733 100644 --- a/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts +++ b/build-logic/src/main/kotlin/geyser.base-conventions.gradle.kts @@ -16,7 +16,7 @@ indra { mitLicense() javaVersions { - target(16) + target(17) } } diff --git a/build.gradle.kts b/build.gradle.kts index d7360b701..a72b8a484 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ allprojects { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(16)) + languageVersion.set(JavaLanguageVersion.of(17)) } }