From ec10cc7b81fe59877087b5eefa79ae8057f3e530 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 3 Nov 2021 19:59:43 -0700 Subject: [PATCH] Update upstream & paperweight to 1.1.13 --- build.gradle.kts | 13 +++---------- gradle.properties | 2 +- patches/server/0001-Build-changes.patch | 18 +++++++++--------- 3 files changed, 13 insertions(+), 20 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3567f19..563e1d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { java `maven-publish` id("com.github.johnrengelman.shadow") version "7.1.0" apply false - id("io.papermc.paperweight.patcher") version "1.1.12" + id("io.papermc.paperweight.patcher") version "1.1.13" } repositories { @@ -45,12 +45,7 @@ subprojects { repositories { mavenCentral() - maven("https://oss.sonatype.org/content/groups/public/") maven("https://papermc.io/repo/repository/maven-public/") - maven("https://ci.emc.gs/nexus/content/groups/aikar/") - maven("https://repo.aikar.co/content/groups/aikar") - maven("https://repo.md-5.net/content/repositories/releases/") - maven("https://hub.spigotmc.org/nexus/content/groups/public/") } } @@ -80,12 +75,10 @@ tasks.generateDevelopmentBundle { mojangApiCoordinates.set("io.papermc.paper:paper-mojangapi") libraryRepositories.set( listOf( + "https://repo.maven.apache.org/maven2/", "https://libraries.minecraft.net/", - "https://maven.quiltmc.org/repository/release/", - "https://repo.aikar.co/content/groups/aikar", - "https://ci.emc.gs/nexus/content/groups/aikar/", "https://papermc.io/repo/repository/maven-public/", - "https://repo.velocitypowered.com/snapshots/", + "https://maven.quiltmc.org/repository/release/", // "https://my.repo/", // This should be a repo hosting your API (in this example, 'com.example.paperfork:forktest-api') ) ) diff --git a/gradle.properties b/gradle.properties index 0ad9c4e..043c144 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ group=com.example.paperfork version=1.17.1-R0.1-SNAPSHOT mcVersion=1.17.1 -paperRef=a61827df9109522f4e84cbe312f6185ba9d7a254 +paperRef=3e310e096cf8855e90b38d96890e38cd5260b185 org.gradle.caching=true org.gradle.parallel=true diff --git a/patches/server/0001-Build-changes.patch b/patches/server/0001-Build-changes.patch index f37e6cc..914d650 100644 --- a/patches/server/0001-Build-changes.patch +++ b/patches/server/0001-Build-changes.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Build changes diff --git a/build.gradle.kts b/build.gradle.kts -index cb1a931417073908be5c7aa1af710477775b3dbd..93675c95d0a798988652b4c6e8010ebad28e12c7 100644 +index d78267e02a705ffa9083815da0df042d3a184837..317e01839efed7631a46f6ee51e3dc44f56d69f1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts -@@ -28,8 +28,8 @@ repositories { +@@ -25,8 +25,8 @@ repositories { } dependencies { @@ -17,9 +17,9 @@ index cb1a931417073908be5c7aa1af710477775b3dbd..93675c95d0a798988652b4c6e8010eba + implementation(project(":ForkTest-API")) // ForkTest + implementation("io.papermc.paper:paper-mojangapi:1.17.1-R0.1-SNAPSHOT") // ForkTest // Paper start - implementation("org.jline:jline-terminal-jansi:3.12.1") - implementation("net.minecrell:terminalconsoleappender:1.2.0") -@@ -81,7 +81,7 @@ tasks.jar { + implementation("org.jline:jline-terminal-jansi:3.21.0") + implementation("net.minecrell:terminalconsoleappender:1.3.0") +@@ -77,7 +77,7 @@ tasks.jar { attributes( "Main-Class" to "org.bukkit.craftbukkit.Main", "Implementation-Title" to "CraftBukkit", @@ -28,7 +28,7 @@ index cb1a931417073908be5c7aa1af710477775b3dbd..93675c95d0a798988652b4c6e8010eba "Implementation-Vendor" to date, // Paper "Specification-Title" to "Bukkit", "Specification-Version" to project.version, -@@ -206,7 +206,7 @@ tasks.test { +@@ -203,7 +203,7 @@ tasks.test { fun TaskContainer.registerRunTask( name: String, block: JavaExec.() -> Unit ): TaskProvider = register(name) { @@ -38,10 +38,10 @@ index cb1a931417073908be5c7aa1af710477775b3dbd..93675c95d0a798988652b4c6e8010eba workingDir = rootProject.layout.projectDirectory.dir( providers.gradleProperty("runWorkDir").forUseAtConfigurationTime().orElse("run") diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index c8876b000a03f18e7a140167ed4505a9843a8d14..45157114dcfa2da5c379d1593d0a54e1a370b288 100644 +index 7636b0ae9031e06fd8b4a0c359a45a17e6e075de..8e953a0d275e7a0e8ddacc0baef4acff8272bb90 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -1721,7 +1721,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop