123456789101112131415161718192021222324252627282930313233343536 |
- plugins {
- id("otel.javaagent-testing")
- }
- dependencies {
- testImplementation("javax.ws.rs:javax.ws.rs-api:2.0.1")
- testLibrary("org.glassfish.jersey.core:jersey-client:2.0")
- testLibrary("org.jboss.resteasy:resteasy-client:3.0.5.Final")
-
- testLibrary("org.apache.cxf:cxf-rt-rs-client:3.1.0")
-
-
- testImplementation("javax.xml.bind:jaxb-api:2.2.3")
- testInstrumentation(project(":instrumentation:apache-httpclient:apache-httpclient-4.0:javaagent"))
- testInstrumentation(project(":instrumentation:http-url-connection:javaagent"))
- testInstrumentation(project(":instrumentation:java-http-client:javaagent"))
- latestDepTestLibrary("org.glassfish.jersey.inject:jersey-hk2:2.+")
- latestDepTestLibrary("org.glassfish.jersey.core:jersey-client:2.+")
- latestDepTestLibrary("org.jboss.resteasy:resteasy-client:3.0.26.Final")
- latestDepTestLibrary("org.apache.cxf:cxf-rt-rs-client:3.+")
- }
- configurations.testRuntimeClasspath.get().resolutionStrategy.force("com.google.guava:guava:19.0")
- tasks.withType<Test>().configureEach {
-
- jvmArgs("--add-opens=java.base/java.net=ALL-UNNAMED")
- jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
- systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
- }
|