Skip to content

Commit 0dddffe

Browse files
committed
restricting config inversion files from being duplicated in shadow jars
1 parent 3728184 commit 0dddffe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dd-java-agent/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def includeShadowJar(TaskProvider<ShadowJar> shadowJarTask, String jarname) {
133133

134134
from(zipTree(shadowJarTask.get().archiveFile)) {
135135
into jarname
136+
exclude 'datadog/trace/config/inversion/**' // hides large config inversion files
136137
rename '(^.*)\\.class$', '$1.classdata'
137138
// Rename LICENSE file since it clashes with license dir on non-case sensitive FSs (i.e. Mac)
138139
rename '^LICENSE$', 'LICENSE.renamed'
@@ -303,6 +304,9 @@ dependencies {
303304
sharedShadowInclude project(':remote-config:remote-config-core'), {
304305
transitive = false
305306
}
307+
308+
sharedShadowInclude project(':utils:config-utils'), { transitive = false }
309+
306310
sharedShadowInclude project(':utils:container-utils'), {
307311
transitive = false
308312
}

0 commit comments

Comments
 (0)