20 lines
460 B
Groovy
20 lines
460 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 "com.sparkjava:spark-core:2.3"
|
|
|
|
testInstrumentation project(':instrumentation:jetty:jetty-8.0:javaagent')
|
|
|
|
testLibrary "com.sparkjava:spark-core:2.4"
|
|
}
|