diff --git a/build.gradle.kts b/build.gradle.kts index 6080a9f..adfb6d8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,8 +1,8 @@ plugins { `java-library` `maven-publish` - id("io.github.0ffz.github-packages") version "1.2.1" - id("io.papermc.hangar-publish-plugin") version "0.1.2" + id("io.github.apdevteam.github-packages") version "1.2.2" + id("io.papermc.hangar-publish-plugin") version "0.1.3" } repositories { @@ -16,7 +16,7 @@ repositories { dependencies { api("org.jetbrains:annotations-java5:24.1.0") - compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT") + compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT") compileOnly("net.countercraft:movecraft:+") compileOnly("net.coreprotect:coreprotect:22.4") } @@ -24,7 +24,7 @@ dependencies { group = "net.countercraft.movecraft.coreprotect" version = "1.0.0_beta-1_gradle" description = "Movecraft-CoreProtect" -java.toolchain.languageVersion = JavaLanguageVersion.of(17) +java.toolchain.languageVersion = JavaLanguageVersion.of(21) tasks.jar { archiveBaseName.set("Movecraft-CoreProtect") @@ -70,7 +70,7 @@ hangarPublish { platforms { register(io.papermc.hangarpublishplugin.model.Platforms.PAPER) { jar.set(tasks.jar.flatMap { it.archiveFile }) - platformVersions.set(listOf("1.18.2-1.21")) + platformVersions.set(listOf("1.20.6-1.21.5")) dependencies { hangar("Movecraft") { required.set(true) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a441313..ff23a68 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-8.14.2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME