Skip to content

Commit

Permalink
shadow slf4j into plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM committed Jan 20, 2025
1 parent bbc341b commit 17f88f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ dependencies {
compileOnly("io.lumine:LumineUtils:1.20-SNAPSHOT")

// Shadow Dependency
implementation("com.zaxxer:HikariCP:4.0.3") { isTransitive = false }
implementation("com.zaxxer:HikariCP:4.0.3")
implementation("org.slf4j:slf4j-nop:2.0.16")
implementation("org.jetbrains:annotations:24.0.0")
implementation("net.kyori:adventure-api:4.17.0")
implementation("net.kyori:adventure-platform-bukkit:4.3.4")
Expand All @@ -72,6 +73,7 @@ tasks {
"org.jetbrains.annotations" to "annotations.jetbrains",
"de.tr7zw.changeme.nbtapi" to "nbtapi",
"com.zaxxer.hikari" to "hikari",
"org.slf4j" to "slf4j",
"net.kyori" to "kyori",
).forEach { (original, target) ->
relocate(original, "top.mrxiaom.sweetmail.utils.$target")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
top.mrxiaom.sweetmail.utils.slf4j.nop.NOPServiceProvider

0 comments on commit 17f88f1

Please sign in to comment.