From f138127c2748bfc1a41a0035b245df8e5ac850e0 Mon Sep 17 00:00:00 2001 From: Will FP Date: Sat, 4 Oct 2025 15:36:18 +0100 Subject: [PATCH] Updated to java 21 --- build.gradle.kts | 4 ++-- eco-core/core-plugin/src/main/resources/plugin.yml | 2 +- gradle.properties | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 63042c4..f4080d7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,7 +46,7 @@ allprojects { java { withSourcesJar() - toolchain.languageVersion.set(JavaLanguageVersion.of(17)) + toolchain.languageVersion.set(JavaLanguageVersion.of(21)) } tasks { @@ -57,7 +57,7 @@ allprojects { compileKotlin { compilerOptions { - jvmTarget.set(JvmTarget.JVM_17) + jvmTarget.set(JvmTarget.JVM_21) } } diff --git a/eco-core/core-plugin/src/main/resources/plugin.yml b/eco-core/core-plugin/src/main/resources/plugin.yml index e02c5ac..1eaaaca 100644 --- a/eco-core/core-plugin/src/main/resources/plugin.yml +++ b/eco-core/core-plugin/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: ${pluginName} version: ${version} main: com.willfp.ecomobs.EcoMobsPlugin -api-version: 1.17 +api-version: 1.21.4 authors: [ Auxilor ] website: willfp.com depend: diff --git a/gradle.properties b/gradle.properties index a49ad26..0fae1a0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ #libreforge-updater -#Thu Sep 11 09:59:41 BST 2025 +#Sat Oct 04 15:33:17 BST 2025 kotlin.code.style=official -libreforge-version=4.78.0 +libreforge-version=4.79.0 version=10.23.0