1234567891011121314151617181920212223242526272829 |
- plugins {
- id("otel.javaagent-instrumentation")
- }
- muzzle {
- pass {
- group.set("org.apache.httpcomponents.client5")
- module.set("httpclient5")
- versions.set("[5.0,)")
- }
- }
- dependencies {
- library("org.apache.httpcomponents.client5:httpclient5:5.0")
- }
- tasks {
- withType<Test>().configureEach {
- systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
- }
- val testStableSemconv by registering(Test::class) {
- jvmArgs("-Dotel.semconv-stability.opt-in=http")
- }
- check {
- dependsOn(testStableSemconv)
- }
- }
|