25 lines
562 B
Groovy
25 lines
562 B
Groovy
plugins {
|
|
id "com.github.johnrengelman.shadow"
|
|
}
|
|
|
|
ext {
|
|
noShadowPublish = true
|
|
}
|
|
|
|
apply from: "$rootDir/gradle/java.gradle"
|
|
|
|
group = 'io.opentelemetry.instrumentation'
|
|
|
|
shadowJar {
|
|
archiveClassifier = 'agent'
|
|
configurations = []
|
|
relocate 'io.opentelemetry.instrumentation.apachehttpclient.v4_0', 'io.opentelemetry.auto.instrumentation.apachehttpclient.v4_0.shaded'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly project(':auto-bootstrap')
|
|
compileOnly deps.opentelemetryApi
|
|
|
|
compileOnly group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.0'
|
|
}
|