move platform utils to the version catalog

This commit is contained in:
Julian Krings 2025-07-19 23:02:49 +02:00
parent 49d2392c80
commit 68a214edb5
No known key found for this signature in database
GPG Key ID: 208C6E08C3B718D2
3 changed files with 4 additions and 2 deletions

View File

@ -96,7 +96,7 @@ nmsBindings.forEach { key, value ->
compileOnly(project(":core"))
compileOnly(rootProject.libs.annotations)
compileOnly(rootProject.libs.byteBuddy.core)
compileOnly("com.github.CrazyDev05:PlatformUtils:e396f93d56") {
compileOnly(rootProject.libs.platformUtils) {
isTransitive = false
}
}

View File

@ -66,7 +66,7 @@ dependencies {
// Shaded
implementation(slimjar())
implementation("com.github.CrazyDev05:PlatformUtils:e396f93d56") {
implementation(rootProject.libs.platformUtils) {
isTransitive = false
}

View File

@ -16,6 +16,7 @@ spigot = "1.20.1-R0.1-SNAPSHOT" # https://hub.spigotmc.org/nexus/repository/snap
log4j = "2.19.0" # https://central.sonatype.com/artifact/org.apache.logging.log4j/log4j-api
adventure-api = "4.23.0" # https://github.com/KyoriPowered/adventure
adventure-platform = "4.4.0" # https://github.com/KyoriPowered/adventure-platform
platform-utils = "e396f93d56" # https://github.com/CrazyDev05/PlatformUtils
annotations = "26.0.2" # https://central.sonatype.com/artifact/org.jetbrains/annotations
paralithic = "0.8.1" # https://github.com/PolyhedralDev/Paralithic/
@ -56,6 +57,7 @@ spigot = { module = "org.spigotmc:spigot-api", version.ref = "spigot" }
log4j-api = { module = "org.apache.logging.log4j:log4j-api", version.ref = "log4j" }
log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j" }
annotations = { module = "org.jetbrains:annotations", version.ref = "annotations" }
platformUtils = { module = "com.github.CrazyDev05:PlatformUtils", version.ref = "platform-utils" }
# Dynamically Loaded
adventure-api = { module = "net.kyori:adventure-api", version.ref = "adventure-api" }