33 lines
1.2 KiB
Groovy
33 lines
1.2 KiB
Groovy
apply from: "${rootDir}/gradle/instrumentation.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.glassfish.grizzly"
|
|
module = 'grizzly-http-server'
|
|
versions = "[2.0,)"
|
|
assertInverse = true
|
|
}
|
|
// Not bothering to test against 1.x since it has a different package name.
|
|
// https://mvnrepository.com/artifact/com.sun.grizzly/grizzly-http
|
|
}
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly group: 'org.glassfish.grizzly', name: 'grizzly-http-server', version: '2.0'
|
|
|
|
testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.3'
|
|
testCompile group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.0'
|
|
testCompile group: 'org.glassfish.grizzly', name: 'grizzly-http-server', version: '2.0'
|
|
testCompile group: 'org.glassfish.jersey.containers', name: 'jersey-container-grizzly2-http', version: '2.0'
|
|
|
|
latestDepTestCompile group: 'org.glassfish.grizzly', name: 'grizzly-http-server', version: '+'
|
|
latestDepTestCompile group: 'org.glassfish.jersey.containers', name: 'jersey-container-grizzly2-http', version: '2.+'
|
|
latestDepTestCompile group: 'org.glassfish.jersey.inject', name: 'jersey-hk2', version: '2.+'
|
|
}
|