27 lines
798 B
Groovy
27 lines
798 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "io.ratpack"
|
|
module = 'ratpack-core'
|
|
versions = "[1.4.0,)"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library group: 'io.ratpack', name: 'ratpack-core', version: '1.4.0'
|
|
|
|
implementation project(':instrumentation:netty:netty-4.1:javaagent')
|
|
|
|
testLibrary group: 'io.ratpack', name: 'ratpack-groovy-test', version: '1.4.0'
|
|
|
|
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {
|
|
testImplementation group: 'com.sun.activation', name: 'jakarta.activation', version: '1.2.2'
|
|
}
|
|
}
|
|
|
|
tasks.withType(Test).configureEach {
|
|
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/2648
|
|
jvmArgs "-Dio.opentelemetry.javaagent.shaded.io.opentelemetry.context.enableStrictContext=false"
|
|
}
|