20 lines
510 B
Groovy
20 lines
510 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
|
|
// building against 2.3 and testing against 2.4 because JettyHandler is available since 2.4 only
|
|
muzzle {
|
|
pass {
|
|
group = "com.sparkjava"
|
|
module = 'spark-core'
|
|
versions = "[2.3,)"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
library group: 'com.sparkjava', name: 'spark-core', version: '2.3'
|
|
|
|
testInstrumentation project(':instrumentation:jetty-8.0:javaagent')
|
|
|
|
testLibrary group: 'com.sparkjava', name: 'spark-core', version: '2.4'
|
|
}
|