Fix transitive dependencies
New instrumentation was bringing in their dependencies into the jar, resulting in a much larger jar file.  This should resolve that.
MODIFY
dd-java-agent/dd-java-agent.gradle
dd-java-agent/dd-java-agent.gradle
@@ -21,15 +21,23 @@ dependencies {
compile project(':dd-java-agent:tooling')
compile project(':dd-trace-annotations')
- compile project(':dd-java-agent:integrations:aws-sdk')
- compile project(':dd-java-agent:integrations:servlet-2')
- compile project(':dd-java-agent:integrations:servlet-3')
- compile project(':dd-java-agent:integrations:spring-web')
+ compile(project(':dd-java-agent:integrations:aws-sdk')) {
+ transitive = false
+ }
+ compile(project(':dd-java-agent:integrations:servlet-2')) {
+ transitive = false
+ }
+ compile(project(':dd-java-agent:integrations:servlet-3')) {
+ transitive = false
+ }
+ compile(project(':dd-java-agent:integrations:spring-web')) {
+ transitive = false
+ }
compile deps.bytebuddy
compile group: 'org.jboss.byteman', name: 'byteman', version: '3.0.10'
- compile group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'
+ compile deps.autoservice
compile deps.slf4j
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'

MODIFY
dd-java-agent/integrations/aws-sdk/aws-sdk.gradle
dd-java-agent/integrations/aws-sdk/aws-sdk.gradle
@@ -23,7 +23,7 @@ dependencies {
compile deps.bytebuddy
compile deps.opentracing
+ compile deps.autoservice
compile group: 'io.opentracing.contrib', name: 'opentracing-aws-sdk', version: '0.0.2'
- compile group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'
}

MODIFY
dd-java-agent/integrations/servlet-2/servlet-2.gradle
dd-java-agent/integrations/servlet-2/servlet-2.gradle
@@ -21,6 +21,5 @@ dependencies {
compile deps.bytebuddy
compile deps.opentracing
-
- compile group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'
+ compile deps.autoservice
}

MODIFY
dd-java-agent/integrations/servlet-3/servlet-3.gradle
dd-java-agent/integrations/servlet-3/servlet-3.gradle
@@ -22,6 +22,5 @@ dependencies {
compile deps.bytebuddy
compile deps.opentracing
-
- compile group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'
+ compile deps.autoservice
}

MODIFY
dd-java-agent/integrations/spring-web/spring-web.gradle
dd-java-agent/integrations/spring-web/spring-web.gradle
@@ -24,6 +24,5 @@ dependencies {
compile deps.bytebuddy
compile deps.opentracing
-
- compile group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'
+ compile deps.autoservice
}

MODIFY
dd-trace/dd-trace.gradle
dd-trace/dd-trace.gradle
@@ -24,7 +24,7 @@ dependencies {
compile deps.jackson
compile deps.slf4j
- compile group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'
+ compile deps.autoservice
compile group: 'org.msgpack', name: 'jackson-dataformat-msgpack', version: '0.8.13'
testCompile deps.testLogging

MODIFY
gradle/dependencies.gradle
gradle/dependencies.gradle
@@ -30,6 +30,11 @@ ext {
dependencies.create(group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: version.jackson),
],
bytebuddy : dependencies.create(group: 'net.bytebuddy', name: 'byte-buddy', version: '1.7.6'),
+ autoservice: [
+ dependencies.create(group: 'com.google.auto.service', name: 'auto-service', version: '1.0-rc3'),
+ dependencies.create(group: 'com.google.auto', name: 'auto-common', version: '0.3'),
+ dependencies.create(group: 'com.google.guava', name: 'guava', version: '19.0'),
+ ],
// Testing
spock : dependencies.create("org.spockframework:spock-core:${version.spock}", {

Fix transitive dependencies

New instrumentation was bringing in their dependencies into the jar, resulting in a much larger jar file.  This should resolve that.