Skip to content

Commit

Permalink
build: Exclude slf4j when run fatJar relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
owarai committed May 6, 2024
1 parent 0cf9a08 commit e7e5411
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
tasks.named('shadowJar', ShadowJar) {
archiveClassifier.set('all-deps')
archiveVersion.set(project.version.toString())

relocate("org.slf4j", "org.slf4j") {
include "org/slf4j/**"
}
enableRelocation true
relocationPrefix "qingstor"

}

tasks {
Expand Down

0 comments on commit e7e5411

Please sign in to comment.