opentelemetry-java-instrume.../instrumentation/restlet/restlet-1.1/javaagent/build.gradle.kts

38 lines
1.1 KiB
Plaintext

plugins {
id("otel.javaagent-instrumentation")
}
muzzle {
pass {
group.set("org.restlet")
module.set("org.restlet")
versions.set("[1.1.0, 1.2-M1)")
extraDependency("com.noelios.restlet:com.noelios.restlet")
assertInverse.set(true)
}
}
repositories {
mavenCentral()
maven("https://maven.restlet.talend.com/")
mavenLocal()
}
dependencies {
bootstrap(project(":instrumentation:servlet:servlet-common:bootstrap"))
implementation(project(":instrumentation:restlet:restlet-1.1:library"))
library("org.restlet:org.restlet:1.1.5")
library("com.noelios.restlet:com.noelios.restlet:1.1.5")
testImplementation(project(":instrumentation:restlet:restlet-1.1:testing"))
testInstrumentation(project(":instrumentation:jetty:jetty-8.0:javaagent"))
testInstrumentation(project(":instrumentation:servlet:servlet-3.0:javaagent"))
testInstrumentation(project(":instrumentation:servlet:servlet-javax-common:javaagent"))
}
tasks.withType<Test>().configureEach {
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
}