Skip to content

Commit

Permalink
Merge pull request #268 from newrelic/fix-telemetry-core-module-info
Browse files Browse the repository at this point in the history
ensure dependency module-info.class dont make it into telemetry-core …
  • Loading branch information
jack-berg authored Jan 25, 2021
2 parents 6142aa5 + bbb3f41 commit 92b65f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions telemetry-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ tasks {
manifest {
attributes(mapOf("Implementation-Version" to project.version, "Implementation-Vendor" to "New Relic, Inc."))
}
// Ensure module-info.class files from dependencies don't erroneously make it into the jar
exclude("**/module-info.class")
relocate("com.google.gson", "com.newrelic.relocated")
minimize()
}
Expand Down

0 comments on commit 92b65f5

Please sign in to comment.