Skip to content

Commit

Permalink
Exclude dagger tracking file from shaded JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnerbart committed Dec 3, 2024
1 parent 5262fa8 commit 3bec062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ tasks.shadowJar {
val shadeFilePrefix = shadePrefix.replace(".", "_")
relocate("io.netty", "${shadePrefix}io.netty")
relocate("META-INF/native/libnetty", "META-INF/native/lib${shadeFilePrefix}netty")
exclude("META-INF/com.google.dagger_dagger.version")
exclude("META-INF/io.netty.versions.properties")
relocate("org.jctools", "${shadePrefix}org.jctools")
relocate("org.jetbrains", "${shadePrefix}org.jetbrains")
Expand Down

0 comments on commit 3bec062

Please sign in to comment.