apply from: "$rootDir/gradle/instrumentation.gradle"

muzzle {
  pass {
    group = "org.mongodb"
    module = "mongodb-driver-async"
    versions = "[3.3,)"
    extraDependency 'org.mongodb:mongo-java-driver:3.3.0'
    assertInverse = true
  }
}

dependencies {
  implementation(project(':instrumentation:mongo:mongo-common:javaagent'))

  library group: 'org.mongodb', name: 'mongodb-driver-async', version: '3.3.0'

  testImplementation project(':instrumentation:mongo:mongo-testing')
  testImplementation group: 'de.flapdoodle.embed', name: 'de.flapdoodle.embed.mongo', version: '1.50.5'

  testInstrumentation project(':instrumentation:mongo:mongo-3.7:javaagent')
}
