From dd230a33e5b0d2771b3f43c2acdaaeb3e82d0946 Mon Sep 17 00:00:00 2001 From: Kaiser-Fahim Date: Fri, 3 Jul 2026 16:08:12 +0600 Subject: [PATCH] Add Support For 26.1.2 --- build.gradle | 8 ++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/resources/plugin.yml | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index aa98a19..5c6c1ee 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group = 'org.turbojax' -version = '2.0.1' +version = '2.0.2' repositories { mavenCentral() @@ -15,7 +15,7 @@ repositories { } dependencies { - compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT") + compileOnly("io.papermc.paper:paper-api:26.1.2.build.72-stable") } tasks { @@ -23,11 +23,11 @@ tasks { // Configure the Minecraft version for our task. // This is the only required configuration besides applying the plugin. // Your plugin's jar (or shadowJar if present) will be used automatically. - minecraftVersion("1.21.4") + minecraftVersion("26.1.2") } } -def targetJavaVersion = 21 +def targetJavaVersion = 25 java { def javaVersion = JavaVersion.toVersion(targetJavaVersion) sourceCompatibility = javaVersion diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a441313..a351597 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e91066a..b2c4017 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,8 +1,9 @@ name: WorkstationCommands version: '$version' main: org.turbojax.workstationCommands.WorkstationCommands -api-version: '1.21.4' +api-version: '26.1.2' author: TurboJax +folia-supported: true commands: wcreload: @@ -144,4 +145,4 @@ permissions: wc.brew.other: true wc.brew.other: description: "Allows the player to use /wcbrew " - default: op \ No newline at end of file + default: op