We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f61ba6f commit d8517d0Copy full SHA for d8517d0
1 file changed
dd-java-agent/build.gradle
@@ -42,6 +42,7 @@ ext.generalShadowJarConfig = {
42
exclude '**/module-info.class'
43
exclude '**/liblz4-java.so'
44
exclude '**/liblz4-java.dylib'
45
+ exclude '**/inst/META-INF/versions/**'
46
47
// Replaced by 'instrumenter.index', no need to include original service file
48
exclude '**/META-INF/services/datadog.trace.agent.tooling.InstrumenterModule'
@@ -291,7 +292,7 @@ tasks.register('checkAgentJarSize').configure {
291
292
doLast {
293
// Arbitrary limit to prevent unintentional increases to the agent jar size
294
// Raise or lower as required
- assert shadowJar.archiveFile.get().getAsFile().length() <= 35 * 1024 * 1024
295
+ assert shadowJar.archiveFile.get().getAsFile().length() <= 31 * 1024 * 1024
296
}
297
298
dependsOn "shadowJar"
0 commit comments