31 lines
654 B
Groovy
31 lines
654 B
Groovy
plugins {
|
|
id "com.github.johnrengelman.shadow"
|
|
}
|
|
apply from: "${rootDir}/gradle/java.gradle"
|
|
|
|
dependencies {
|
|
compile 'com.heliosapm.jmxlocal:jmxlocal:1.0'
|
|
compile 'com.datadoghq:jmxfetch:0.22.1'
|
|
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'
|
|
}
|