description = 'OpenTelemetry Javaagent testing commons' group = 'io.opentelemetry.javaagent' apply from: "$rootDir/gradle/java.gradle" apply from: "$rootDir/gradle/publish.gradle" dependencies { api "org.codehaus.groovy:groovy-all" api "org.spockframework:spock-core" implementation "org.junit.jupiter:junit-jupiter-api" api "io.opentelemetry:opentelemetry-api" api "io.opentelemetry:opentelemetry-semconv" api "io.opentelemetry:opentelemetry-sdk" api "io.opentelemetry:opentelemetry-sdk-metrics" api "io.opentelemetry:opentelemetry-sdk-testing" implementation("io.opentelemetry:opentelemetry-proto") { // Only need the proto, not gRPC. exclude group: 'io.grpc' } implementation "net.bytebuddy:byte-buddy" implementation "net.bytebuddy:byte-buddy-agent" implementation "org.slf4j:slf4j-api" implementation "ch.qos.logback:logback-classic" implementation "org.slf4j:log4j-over-slf4j" implementation "org.slf4j:jcl-over-slf4j" implementation "org.slf4j:jul-to-slf4j" implementation "io.opentelemetry:opentelemetry-extension-annotations" implementation project(':instrumentation-api') api "com.squareup.okhttp3:okhttp:4.9.0" api "com.squareup.okhttp3:logging-interceptor:4.9.0" //TODO replace with Servlet API? implementation "org.eclipse.jetty:jetty-server:8.0.0.v20110901" annotationProcessor "com.google.auto.service:auto-service" compileOnly "com.google.auto.service:auto-service" testImplementation "org.assertj:assertj-core" testImplementation project(':javaagent-api') testImplementation project(':javaagent-tooling') testImplementation project(':javaagent-bootstrap') testImplementation project(':javaagent-extension-api') testImplementation project(':instrumentation:external-annotations:javaagent') // We have autoservices defined in test subtree, looks like we need this to be able to properly rebuild this testAnnotationProcessor "com.google.auto.service:auto-service" testCompileOnly "com.google.auto.service:auto-service" } javadoc.enabled = false