// not applying $rootDir/gradle/instrumentation.gradle because that brings running tests with agent
// infrastructure, and this module only wants to run unit tests

ext.mavenGroupId = 'io.opentelemetry.javaagent.instrumentation'

apply from: "$rootDir/gradle/java.gradle"
apply from: "$rootDir/gradle/publish.gradle"

archivesBaseName = projectDir.parentFile.name

dependencies {
  compileOnly project(':instrumentation-api')
  compileOnly project(':javaagent-api')
  compileOnly group: 'org.mongodb', name: 'mongo-java-driver', version: '3.1.0'

  testImplementation project(':instrumentation-api')
  testImplementation project(':javaagent-api')
  testImplementation group: 'org.mongodb', name: 'mongo-java-driver', version: '3.1.0'
}
