From 0341163a5b0fb235d28ba943b900efe8bf45b3ef Mon Sep 17 00:00:00 2001 From: NONPLAYT <76615486+NONPLAYT@users.noreply.github.com> Date: Mon, 17 Nov 2025 17:00:36 +0300 Subject: [PATCH] bump deps --- divinemc-api/build.gradle.kts.patch | 51 +++++++++++++++++++---------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/divinemc-api/build.gradle.kts.patch b/divinemc-api/build.gradle.kts.patch index 6c787bc..74bd0c1 100644 --- a/divinemc-api/build.gradle.kts.patch +++ b/divinemc-api/build.gradle.kts.patch @@ -1,13 +1,17 @@ --- a/purpur-api/build.gradle.kts +++ b/purpur-api/build.gradle.kts -@@ -12,8 +_,8 @@ - val annotationsVersion = "26.0.2" +@@ -9,11 +_,11 @@ + withJavadocJar() + } + +-val annotationsVersion = "26.0.2" ++val annotationsVersion = "26.0.2-1" // DivineMC - Bump dependencies val adventureVersion = "4.25.0" val bungeeCordChatVersion = "1.21-R0.2-deprecated+build.21" -val slf4jVersion = "2.0.16" -val log4jVersion = "2.24.1" +val slf4jVersion = "2.0.17" // DivineMC - Bump dependencies -+val log4jVersion = "2.24.3" // DivineMC - Bump dependencies ++val log4jVersion = "2.25.2" // DivineMC - Bump dependencies val apiAndDocs: Configuration by configurations.creating { attributes { @@ -16,10 +20,9 @@ dependencies { // api dependencies are listed transitively to API consumers - api("com.google.guava:guava:33.3.1-jre") -- api("com.google.code.gson:gson:2.11.0") -- api("org.yaml:snakeyaml:2.2") + api("com.google.guava:guava:33.4.0-jre") // DivineMC - Bump dependencies -+ api("com.google.code.gson:gson:2.12.1") // DivineMC - Bump dependencies + api("com.google.code.gson:gson:2.11.0") +- api("org.yaml:snakeyaml:2.2") + api("org.yaml:snakeyaml:2.3") // DivineMC - Bump dependencies api("org.joml:joml:1.10.8") { isTransitive = false // https://github.com/JOML-CI/JOML/issues/352 @@ -28,11 +31,11 @@ api("org.apache.logging.log4j:log4j-api:$log4jVersion") api("org.slf4j:slf4j-api:$slf4jVersion") api("com.mojang:brigadier:1.3.10") -+ api("io.sentry:sentry:8.4.0") // DivineMC - Pufferfish: Sentry ++ api("io.sentry:sentry:8.25.0") // DivineMC - Pufferfish: Sentry // Deprecate bungeecord-chat in favor of adventure api("net.md-5:bungeecord-chat:$bungeeCordChatVersion") { -@@ -64,9 +_,11 @@ +@@ -64,29 +_,35 @@ apiAndDocs("net.kyori:adventure-text-serializer-plain") apiAndDocs("net.kyori:adventure-text-logger-slf4j") @@ -40,27 +43,41 @@ - implementation("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.18") - implementation("org.apache.maven.resolver:maven-resolver-transport-http:1.9.18") + // DivineMC start - Bump dependencies -+ api("org.apache.maven:maven-resolver-provider:3.9.9") // make API dependency for Paper Plugins ++ api("org.apache.maven:maven-resolver-provider:3.9.11") // make API dependency for Paper Plugins + implementation("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.22") + implementation("org.apache.maven.resolver:maven-resolver-transport-http:1.9.22") + // DivineMC end - Bump dependencies // Annotations - Slowly migrate to jspecify val annotations = "org.jetbrains:annotations:$annotationsVersion" -@@ -82,11 +_,13 @@ + compileOnly(annotations) + testCompileOnly(annotations) + +- val checkerQual = "org.checkerframework:checker-qual:3.49.2" ++ val checkerQual = "org.checkerframework:checker-qual:3.51.1" // DivineMC - Bump dependencies + compileOnlyApi(checkerQual) + testCompileOnly(checkerQual) + + api("org.jspecify:jspecify:1.0.0") + // Test dependencies - testImplementation("org.apache.commons:commons-lang3:3.17.0") - testImplementation("org.junit.jupiter:junit-jupiter:5.12.2") +- testImplementation("org.apache.commons:commons-lang3:3.17.0") +- testImplementation("org.junit.jupiter:junit-jupiter:5.12.2") - testImplementation("org.hamcrest:hamcrest:2.2") - testImplementation("org.mockito:mockito-core:5.14.1") -+ testImplementation("org.hamcrest:hamcrest:3.0") // DivineMC - Bump dependencies -+ testImplementation("org.mockito:mockito-core:5.16.1") // DivineMC - Bump dependencies - testImplementation("org.ow2.asm:asm-tree:9.8") +- testImplementation("org.ow2.asm:asm-tree:9.8") - mockitoAgent("org.mockito:mockito-core:5.14.1") { isTransitive = false } // configure mockito agent that is needed in newer java versions -+ mockitoAgent("org.mockito:mockito-core:5.16.1") { isTransitive = false } // configure mockito agent that is needed in newer java versions // DivineMC - Bump dependencies ++ // DivineMC start - Bump dependencies ++ testImplementation("org.apache.commons:commons-lang3:3.19.0") ++ testImplementation("org.junit.jupiter:junit-jupiter:6.0.1") ++ testImplementation("org.hamcrest:hamcrest:3.0") ++ testImplementation("org.mockito:mockito-core:5.20.0") ++ testImplementation("org.ow2.asm:asm-tree:9.9") ++ mockitoAgent("org.mockito:mockito-core:5.20.0") { isTransitive = false } // configure mockito agent that is needed in newer java versions ++ // DivineMC end - Bump dependencies testRuntimeOnly("org.junit.platform:junit-platform-launcher") + -+ compileOnly("org.apache.commons:commons-lang3:3.17.0") // DivineMC - Required for Bukkit ++ compileOnly("org.apache.commons:commons-lang3:3.19.0") // DivineMC - Required for Bukkit } val generatedDir: java.nio.file.Path = rootProject.layout.projectDirectory.dir("paper-api/src/generated/java").asFile.toPath()