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

muzzle {
  fail {
    group = "commons-httpclient"
    module = "commons-httpclient"
    versions = "[,4.0)"
    skipVersions += '3.1-jenkins-1'
  }
  pass {
    group = "org.apache.httpcomponents"
    module = "httpclient"
    versions = "[4.0,)"
    assertInverse = true
  }
  pass {
    // We want to support the dropwizard clients too.
    group = 'io.dropwizard'
    module = 'dropwizard-client'
    versions = "(,)"
    assertInverse = true
  }
}

dependencies {
  library group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.0'
}
