diff --git a/build.gradle.kts b/build.gradle.kts index f32ea579cc..1af0dac50a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,7 +2,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.api.tasks.testing.logging.TestLogEvent plugins { - id("io.papermc.paperweight.patcher") version "2.0.0-beta.18" + id("io.papermc.paperweight.patcher") version "2.0.0-beta.19" } paperweight { diff --git a/fork-api/build.gradle.kts.patch b/fork-api/build.gradle.kts.patch index 2b27b97fa4..f4f5d5d935 100644 --- a/fork-api/build.gradle.kts.patch +++ b/fork-api/build.gradle.kts.patch @@ -1,6 +1,6 @@ --- a/paper-api/build.gradle.kts +++ b/paper-api/build.gradle.kts -@@ -90,7 +_,7 @@ +@@ -91,7 +_,7 @@ testRuntimeOnly("org.junit.platform:junit-platform-launcher") } @@ -9,7 +9,7 @@ idea { module { generatedSourceDirs.add(generatedDir.toFile()) -@@ -100,6 +_,18 @@ +@@ -101,6 +_,18 @@ main { java { srcDir(generatedDir) @@ -28,7 +28,7 @@ } } } -@@ -166,7 +_,7 @@ +@@ -183,7 +_,7 @@ tasks.withType().configureEach { val options = options as StandardJavadocDocletOptions @@ -37,7 +37,7 @@ options.use() options.isDocFilesSubDirs = true options.links( -@@ -199,11 +_,11 @@ +@@ -216,11 +_,11 @@ } // workaround for https://github.com/gradle/gradle/issues/4046 diff --git a/fork-server/build.gradle.kts.patch b/fork-server/build.gradle.kts.patch index e21501db67..16a2d92deb 100644 --- a/fork-server/build.gradle.kts.patch +++ b/fork-server/build.gradle.kts.patch @@ -1,6 +1,6 @@ --- a/paper-server/build.gradle.kts +++ b/paper-server/build.gradle.kts -@@ -26,6 +_,17 @@ +@@ -22,6 +_,17 @@ minecraftVersion = providers.gradleProperty("mcVersion") gitFilePatches = false @@ -17,8 +17,8 @@ + spigot { enabled = true - buildDataRef = "436eac9815c211be1a2a6ca0702615f995e81c44" -@@ -107,7 +_,20 @@ + buildDataRef = "17f77cee7117ab9d6175f088ae8962bfd04e61a9" +@@ -104,7 +_,20 @@ } } @@ -40,16 +40,16 @@ configurations.named(log4jPlugins.compileClasspathConfigurationName) { extendsFrom(configurations.compileClasspath.get()) } -@@ -129,7 +_,7 @@ +@@ -127,7 +_,7 @@ } dependencies { - implementation(project(":paper-api")) + implementation(project(":fork-api")) - implementation("ca.spottedleaf:concurrentutil:0.0.3") + implementation("ca.spottedleaf:concurrentutil:0.0.8") implementation("org.jline:jline-terminal-ffm:3.27.1") // use ffm on java 22+ implementation("org.jline:jline-terminal-jni:3.27.1") // fall back to jni on java 21 -@@ -266,7 +_,7 @@ +@@ -264,7 +_,7 @@ jvmArgumentProviders.add(provider) } diff --git a/fork-server/minecraft-patches/sources/net/minecraft/BlockUtil.java.patch b/fork-server/minecraft-patches/sources/net/minecraft/BlockUtil.java.patch index a2792a088b..719616fa94 100644 --- a/fork-server/minecraft-patches/sources/net/minecraft/BlockUtil.java.patch +++ b/fork-server/minecraft-patches/sources/net/minecraft/BlockUtil.java.patch @@ -1,5 +1,5 @@ ---- a/net/minecraft/BlockUtil.java -+++ b/net/minecraft/BlockUtil.java +--- a/net/minecraft/util/BlockUtil.java ++++ b/net/minecraft/util/BlockUtil.java @@ -16,6 +_,7 @@ public static BlockUtil.FoundRectangle getLargestRectangleAround( BlockPos centerPos, Direction.Axis axis1, int max1, Direction.Axis axis2, int max2, Predicate posPredicate diff --git a/gradle.properties b/gradle.properties index 41a6ef33eb..de47142a5a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,8 @@ group=fork.test -version=1.21.8-R0.1-SNAPSHOT -mcVersion=1.21.8 -paperRef=103187750e29fd982b84b2bab114fe5af98a82e5 +version=1.21.11-R0.1-SNAPSHOT +apiVersion=1.21.11 +mcVersion=1.21.11 +paperRef=3ebc5b3320924e9122903dfd1f11abcf897300e6 org.gradle.configuration-cache=true org.gradle.caching=true diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 1b33c55baa..f8e1ee3125 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d4081da476..23449a2b54 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.14.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew b/gradlew index 23d15a9367..adff685a03 100755 --- a/gradlew +++ b/gradlew @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright © 2015-2021 the original authors. +# Copyright © 2015 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -114,7 +114,6 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH="\\\"\\\"" # Determine the Java command to use to start the JVM. @@ -172,7 +171,6 @@ fi # For Cygwin or MSYS, switch paths to Windows format before running java if "$cygwin" || "$msys" ; then APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) JAVACMD=$( cygpath --unix "$JAVACMD" ) @@ -212,7 +210,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" diff --git a/gradlew.bat b/gradlew.bat index db3a6ac207..c4bdd3ab8e 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -70,11 +70,10 @@ goto fail :execute @rem Setup the command line -set CLASSPATH= @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell diff --git a/settings.gradle.kts b/settings.gradle.kts index fb5080d9e7..cacf7ed2f1 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,7 +7,7 @@ pluginManagement { } plugins { - id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0" + id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" } rootProject.name = "fork"