File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,7 @@ includeSubprojShadowJar ':dd-java-agent:agent-iast', 'iast'
117117includeSubprojShadowJar ' :dd-java-agent:agent-debugger' , ' debugger'
118118includeSubprojShadowJar ' :dd-java-agent:agent-ci-visibility' , ' ci-visibility'
119119includeSubprojShadowJar ' :dd-java-agent:agent-logs-intake' , ' logs-intake'
120- if (project. rootProject. hasProperty(" agentIncludeCwsTls" ) && agentIncludeCwsTls) {
121- includeSubprojShadowJar ' :dd-java-agent:cws-tls' , ' cws-tls'
122- }
120+ includeSubprojShadowJar ' :dd-java-agent:cws-tls' , ' cws-tls'
123121
124122def sharedShadowJar = tasks. register(' sharedShadowJar' , ShadowJar ) {
125123 configurations = [project. configurations. sharedShadowInclude]
@@ -286,8 +284,7 @@ tasks.register('checkAgentJarSize').configure {
286284 doLast {
287285 // Arbitrary limit to prevent unintentional increases to the agent jar size
288286 // Raise or lower as required
289- def megs = (project. rootProject. hasProperty(" agentIncludeCwsTls" ) && agentIncludeCwsTls) ? 30 : 29
290- assert shadowJar. archiveFile. get(). getAsFile(). length() <= megs * 1024 * 1024
287+ assert shadowJar. archiveFile. get(). getAsFile(). length() <= 29 * 1024 * 1024
291288 }
292289
293290 dependsOn " shadowJar"
Original file line number Diff line number Diff line change 1- // This component is only included in the Java Agent if the gradle property agentIncludeCwsTls is true
2-
31plugins {
42 id " com.github.johnrengelman.shadow"
53}
@@ -22,5 +20,6 @@ dependencies {
2220
2321shadowJar {
2422 dependencies deps. excludeShared
23+ // exclude this since it's available in the instrumentation jar
24+ exclude ' com/sun/jna/**/*'
2525}
26-
You can’t perform that action at this time.
0 commit comments