diff --git a/dd-java-agent/build.gradle b/dd-java-agent/build.gradle index 6e9b2daf5e0..cacc90e7d92 100644 --- a/dd-java-agent/build.gradle +++ b/dd-java-agent/build.gradle @@ -75,6 +75,10 @@ def generalShadowJarConfig(ShadowJar shadowJarTask) { exclude '**/liblz4-java.dylib' exclude '**/inst/META-INF/versions/**' exclude '**/META-INF/versions/*/org/yaml/**' + exclude '**/package.html' + + // Used to generate Java code during build, no need to include original file + exclude '**/*.trie' // Replaced by 'instrumenter.index', no need to include original service file exclude '**/META-INF/services/datadog.trace.agent.tooling.InstrumenterModule'