diff options
| author | Krakenied <krakenied1@gmail.com> | 2025-11-29 15:44:55 +0100 |
|---|---|---|
| committer | Krakenied <46192742+Krakenied@users.noreply.github.com> | 2025-11-29 15:53:26 +0100 |
| commit | 591d288fbff1360cf18a74ac1494426563e161da (patch) | |
| tree | 070bad2b5947caa224d84692ec6b8f45e5b9a0ac /bukkit/build.gradle.kts | |
| parent | 9fb083ab6eab7c707ac3efc04cfc95fd1ab4b4fb (diff) | |
Fix HikariCP logging provider detection after update
- Bump slf4j-nop to 2.0.17
- Transform service files properly
Diffstat (limited to 'bukkit/build.gradle.kts')
| -rw-r--r-- | bukkit/build.gradle.kts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bukkit/build.gradle.kts b/bukkit/build.gradle.kts index 79e22687..6c359d1f 100644 --- a/bukkit/build.gradle.kts +++ b/bukkit/build.gradle.kts @@ -1,3 +1,5 @@ +import com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer + plugins { id("com.gradleup.shadow") } @@ -150,7 +152,7 @@ dependencies { // HikariCP implementation("com.zaxxer:HikariCP:7.0.2") // slf4j - implementation("org.slf4j:slf4j-nop:1.7.36") + implementation("org.slf4j:slf4j-nop:2.0.17") // hppc implementation("com.carrotsearch:hppc:0.10.0") // bungeecord-chat @@ -174,6 +176,9 @@ tasks.shadowJar { exclude(dependency("org.slf4j:.*:.*")) } + // Required for proper relocated SLF4J provider detection + transform(ServiceFileTransformer::class.java) + archiveClassifier.set(null as String?) } |
