12345678910111213141516171819202122232425262728293031323334353637383940 |
- plugins {
- id("otel.javaagent-instrumentation")
- }
- muzzle {
- pass {
- group.set("com.linecorp.armeria")
- module.set("armeria")
- versions.set("[1.3.0,)")
- assertInverse.set(true)
- }
- }
- dependencies {
- implementation(project(":instrumentation:armeria-1.3:library"))
- testInstrumentation(project(":instrumentation:netty:netty-4.1:javaagent"))
- library("com.linecorp.armeria:armeria:1.3.0")
- testImplementation(project(":instrumentation:armeria-1.3:testing"))
- }
- tasks {
- val testStableSemconv by registering(Test::class) {
- filter {
- includeTestsMatching("ArmeriaHttpClientTest")
- }
- include("**/ArmeriaHttpClientTest.*")
- jvmArgs("-Dotel.semconv-stability.opt-in=http")
- }
- withType<Test>().configureEach {
- systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
- }
- check {
- dependsOn(testStableSemconv)
- }
- }
|