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

muzzle {
  pass {
    group = "redis.clients"
    module = "jedis"
    versions = "[1.4.0,3.0.0)"
    assertInverse = true
  }
}

dependencies {
  library group: 'redis.clients', name: 'jedis', version: '1.4.0'

  testImplementation group: 'com.github.kstyrc', name: 'embedded-redis', version: '0.6'

  // Jedis 3.0 has API changes that prevent instrumentation from applying
  latestDepTestLibrary group: 'redis.clients', name: 'jedis', version: '2.+'
}
