Skip to content

Commit 1b7035e

Browse files
Merge pull request #367 from isaac84/master
Updated the agent project not to be transitive when resolved for core
2 parents 2479bec + 67c2485 commit 1b7035e

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)