Skip to content

Commit 8bb18b0

Browse files
Merge pull request #374 from debugthings/bugfix/369and362
Bugfix/362
2 parents 072bfa2 + 74e5044 commit 8bb18b0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

core/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ archivesBaseName = 'applicationinsights-core'
3636

3737
dependencies {
3838
provided (project(':agent')) { transitive = false }
39-
compile group: 'eu.infomas', name: 'annotation-detector', version: '3.0.4'
40-
compile group: 'commons-io', name: 'commons-io', version: '2.4'
41-
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
42-
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.5'
43-
compile group: 'com.google.guava', name: 'guava', version: '12.0.1'
39+
compile ([group: 'eu.infomas', name: 'annotation-detector', version: '3.0.4'])
40+
compile ([group: 'commons-io', name: 'commons-io', version: '2.4' ])
41+
compile ([group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'])
42+
compile ([group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.5'])
43+
compile ([group: 'com.google.guava', name: 'guava', version: '12.0.1'])
4444
testCompile group: 'junit', name: 'junit', version: '4.11'
4545
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.8.0'
4646
testCompile group: 'com.google.code.gson', name: 'gson', version: '1.7.2'
@@ -52,6 +52,7 @@ shadowJar {
5252
relocate 'eu.infomas.annotation', 'com.microsoft.applicationinsights.core.dependencies.annotation'
5353
relocate 'org.apache.commons', 'com.microsoft.applicationinsights.core.dependencies.apachecommons'
5454
relocate 'com.google.common', 'com.microsoft.applicationinsights.core.dependencies.googlecommon'
55+
relocate 'javax.annotation', 'com.microsoft.applicationinsights.core.dependencies.javaxannotation'
5556
}
5657

5758
jar {

web/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ apply from: "$buildScriptsDir/publishing.gradle"
2525
archivesBaseName = 'applicationinsights-web'
2626

2727
dependencies {
28-
provided project(':agent')
29-
compile project(':core')
28+
provided (project(':agent')) { transitive = false }
29+
compile (project(':core')) { transitive = false }
30+
compile ([group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'])
31+
compile ([group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.5'])
3032
provided 'com.opensymphony:xwork:2.0.4' // Struts 2
3133
provided 'org.springframework:spring-webmvc:3.1.0.RELEASE'
3234
provided group: 'javax.servlet', name: 'servlet-api', version: '2.5'

0 commit comments

Comments
 (0)