28 lines
847 B
Groovy
28 lines
847 B
Groovy
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
muzzle {
|
|
pass {
|
|
group = 'org.springframework'
|
|
module = 'spring-context'
|
|
versions = "[3.1.0.RELEASE,]"
|
|
assertInverse = true
|
|
}
|
|
}
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// 3.2.3 is the first version with which the tests will run. Lower versions require other
|
|
// classes and packages to be imported. Versions 3.1.0+ work with the instrumentation.
|
|
compileOnly group: 'org.springframework', name: 'spring-context', version: '3.1.0.RELEASE'
|
|
testImplementation group: 'org.springframework', name: 'spring-context', version: '3.2.3.RELEASE'
|
|
|
|
// this is the latest version that supports Java 7
|
|
latestDepTestImplementation group: 'org.springframework', name: 'spring-context', version: '4.+'
|
|
}
|