30 lines
606 B
Groovy
30 lines
606 B
Groovy
plugins {
|
|
id "com.github.johnrengelman.shadow"
|
|
}
|
|
apply from: "${rootDir}/gradle/java.gradle"
|
|
|
|
dependencies {
|
|
compile 'com.datadoghq:jmxfetch:0.24.0'
|
|
compile deps.slf4j
|
|
compile project(':dd-trace-api')
|
|
}
|
|
|
|
configurations {
|
|
// exclude bootstrap dependencies from shadowJar
|
|
runtime.exclude module: deps.opentracing
|
|
runtime.exclude module: deps.slf4j
|
|
runtime.exclude group: 'org.slf4j'
|
|
runtime.exclude group: 'io.opentracing'
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
exclude(project(':dd-java-agent:agent-bootstrap'))
|
|
exclude(project(':dd-trace-api'))
|
|
}
|
|
}
|
|
|
|
jar {
|
|
classifier = 'unbundled'
|
|
}
|