diff --git a/agent/agent/build.gradle.kts b/agent/agent/build.gradle.kts index 6923e080527..c660ed62984 100644 --- a/agent/agent/build.gradle.kts +++ b/agent/agent/build.gradle.kts @@ -141,6 +141,8 @@ tasks { from(zipTree(shadowJarWithDuplicates.get().archiveFile)) + duplicatesStrategy = DuplicatesStrategy.EXCLUDE + manifest { attributes(shadowJarWithDuplicates.get().manifest.attributes) }