diff --git a/build.gradle b/build.gradle index 2760119..b017a35 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'java' - id("xyz.jpenilla.run-paper") version "2.3.1" + id("xyz.jpenilla.run-paper") version "${runPaperVersion}" } group = 'de.shiewk' @@ -33,14 +33,14 @@ runServer { minecraftVersion("1.21.11") downloadPlugins { // for testing from other client versions - modrinth("ViaVersion", "5.5.1") - modrinth("ViaBackwards", "5.5.1") + modrinth("ViaVersion", viaVersionVersion) + modrinth("ViaBackwards", viaVersionVersion) } } dependencies { - //compileOnly "io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT" - compileOnly 'dev.folia:folia-api:1.21.4-R0.1-SNAPSHOT' + //compileOnly "io.papermc.paper:paper-api:${apiVersion}" + compileOnly "dev.folia:folia-api:${apiVersion}" } jar { diff --git a/gradle.properties b/gradle.properties index f5b3290..7a54b6f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1,4 @@ -pluginVersion = 1.8.2 \ No newline at end of file +pluginVersion = 1.8.2 +apiVersion = 1.21.4-R0.1-SNAPSHOT +runPaperVersion = 3.0.2 +viaVersionVersion = 5.8.0 \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 94113f2..dbc3ce4 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.11-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME