diff --git a/build.gradle.kts b/build.gradle.kts index 843bc58..c144531 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java") `maven-publish` id("net.minecrell.plugin-yml.paper") version "0.6.0" - id("com.github.johnrengelman.shadow") version "8.1.1" + id("com.gradleup.shadow") version "8.3.3" } group = "dev.plex" @@ -22,12 +22,12 @@ repositories { } dependencies { - compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT") - library("net.dv8tion:JDA:5.0.0-beta.20") { + compileOnly("io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT") + library("net.dv8tion:JDA:5.1.2") { exclude(module = "opus-java") } - implementation("org.bstats:bstats-base:3.0.2") - implementation("org.bstats:bstats-bukkit:3.0.2") + implementation("org.bstats:bstats-base:3.1.0") + implementation("org.bstats:bstats-bukkit:3.1.0") } paper { @@ -43,7 +43,7 @@ paper { } java { - toolchain.languageVersion.set(JavaLanguageVersion.of(17)) + toolchain.languageVersion.set(JavaLanguageVersion.of(21)) } tasks { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1af9e09..df97d72 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.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME