36 lines
891 B
Groovy
36 lines
891 B
Groovy
ext {
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.glassfish.grizzly"
|
|
module = "grizzly-http-client"
|
|
versions = "[1.9,1.16]"
|
|
assertInverse = true
|
|
}
|
|
pass {
|
|
group = "com.ning"
|
|
module = "async-http-client"
|
|
versions = "[1.9.0,)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly group: 'org.glassfish.grizzly', name: 'grizzly-http-client', version: '1.9'
|
|
// for some reason, the tests don't *load* until 1.12, but muzzles works as far back as 1.9
|
|
testImplementation group: 'org.glassfish.grizzly', name: 'grizzly-http-client', version: '1.12'
|
|
|
|
latestDepTestImplementation group: 'org.glassfish.grizzly', name: 'grizzly-http-client', version: '1.16'
|
|
}
|