Skip to content

Commit 67c2485

Browse files
author
ig3746
committed
Updated the agent project not to be transitive so its asm dependencies don't end up in the root of the core jar
1 parent 2479bec commit 67c2485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import com.microsoft.applicationinsights.build.tasks.PropsFileGen
3535
archivesBaseName = 'applicationinsights-core'
3636

3737
dependencies {
38-
provided project(':agent')
38+
provided (project(':agent')) { transitive = false }
3939
compile group: 'eu.infomas', name: 'annotation-detector', version: '3.0.4'
4040
compile group: 'commons-io', name: 'commons-io', version: '2.4'
4141
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
@@ -51,7 +51,7 @@ shadowJar {
5151
relocate 'org.apache.http', 'com.microsoft.applicationinsights.core.dependencies.http'
5252
relocate 'eu.infomas.annotation', 'com.microsoft.applicationinsights.core.dependencies.annotation'
5353
relocate 'org.apache.commons', 'com.microsoft.applicationinsights.core.dependencies.apachecommons'
54-
relocate 'com.google.common', 'com.microsoft.applicationinsights.core.dependencies.googlecommon '
54+
relocate 'com.google.common', 'com.microsoft.applicationinsights.core.dependencies.googlecommon'
5555
}
5656

5757
jar {

0 commit comments

Comments
 (0)