1234567891011121314151617181920212223242526272829 |
- plugins {
- id("otel.javaagent-instrumentation")
- }
- muzzle {
- pass {
- group.set("com.github.oshi")
- module.set("oshi-core")
- versions.set("[5.3.1,)")
- // Could not parse POM https://repo.maven.apache.org/maven2/com/github/oshi/oshi-core/6.1.1/oshi-core-6.1.1.pom
- skip("6.1.1")
- }
- }
- dependencies {
- implementation(project(":instrumentation:oshi:library"))
- compileOnly("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure")
- library("com.github.oshi:oshi-core:5.3.1")
- testImplementation(project(":instrumentation:oshi:testing"))
- }
- tasks {
- withType<Test>().configureEach {
- jvmArgs("-Dotel.instrumentation.oshi.experimental-metrics.enabled=true")
- }
- }
|