45 lines
1.0 KiB
Groovy
45 lines
1.0 KiB
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "io.netty"
|
|
module = "netty-codec-http"
|
|
versions = "[4.1.0.Final,5.0.0)"
|
|
assertInverse = true
|
|
}
|
|
pass {
|
|
group = "io.netty"
|
|
module = "netty-all"
|
|
versions = "[4.1.0.Final,5.0.0)"
|
|
// Could not find netty-tcnative-2.0.39.Final-${os.detected.classifier}.jar (io.netty:netty-tcnative:2.0.39.Final)
|
|
skip("4.1.64.Final")
|
|
assertInverse = true
|
|
}
|
|
fail {
|
|
group = "io.netty"
|
|
module = "netty"
|
|
versions = "[,]"
|
|
}
|
|
pass {
|
|
group = "io.vertx"
|
|
module = "vertx-core"
|
|
versions = "[3.3.0,)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library "io.netty:netty-codec-http:4.1.0.Final"
|
|
api project(':instrumentation:netty:netty-4.1:library')
|
|
|
|
//Contains logging handler
|
|
testLibrary "io.netty:netty-handler:4.1.0.Final"
|
|
|
|
latestDepTestLibrary "io.netty:netty-codec-http:(,5.0)"
|
|
latestDepTestLibrary "io.netty:netty-handler:(,5.0)"
|
|
}
|
|
|
|
test {
|
|
systemProperty "testLatestDeps", testLatestDeps
|
|
}
|