123456789101112131415161718192021222324252627282930313233343536373839 |
- plugins {
- id("otel.javaagent-instrumentation")
- }
- muzzle {
- pass {
- group.set("com.ning")
- module.set("async-http-client")
- versions.set("[1.9.0,)")
- assertInverse.set(true)
- }
- }
- dependencies {
- library("com.ning:async-http-client:1.9.0")
- compileOnly("com.google.auto.value:auto-value-annotations")
- annotationProcessor("com.google.auto.value:auto-value")
- testInstrumentation(project(":instrumentation:netty:netty-3.8:javaagent"))
- }
- tasks {
- val testStableSemconv by registering(Test::class) {
- jvmArgs("-Dotel.semconv-stability.opt-in=http")
- }
- withType<Test>().configureEach {
- // required on jdk17
- jvmArgs("--add-exports=java.base/sun.security.util=ALL-UNNAMED")
- jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
- systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
- }
- check {
- dependsOn(testStableSemconv)
- }
- }
|