Skip to content

Commit

Permalink
Exclude META-INF/maven from shaded libraries (#13007)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Jan 7, 2025
1 parent 1e7f4a2 commit fa7e8b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/distro/agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ CopySpec isolateClasses(Iterable<File> jars) {
exclude("META-INF/INDEX.LIST")
exclude("META-INF/*.DSA")
exclude("META-INF/*.SF")
exclude("META-INF/maven/**")
exclude("META-INF/MANIFEST.MF")
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ fun CopySpec.isolateClasses(jar: Provider<RegularFile>) {
exclude("META-INF/INDEX.LIST")
exclude("META-INF/*.DSA")
exclude("META-INF/*.SF")
exclude("META-INF/maven/**")
exclude("META-INF/MANIFEST.MF")
}
}

Expand Down

0 comments on commit fa7e8b5

Please sign in to comment.