50 lines
1.9 KiB
Groovy
50 lines
1.9 KiB
Groovy
// Set properties before any plugins get loaded
|
|
ext {
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
apply from: "$rootDir/gradle/instrumentation.gradle"
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
muzzle {
|
|
pass {
|
|
group = "org.springframework"
|
|
module = "spring-webflux"
|
|
versions = "[5.0.0.RELEASE,)"
|
|
assertInverse = true
|
|
extraDependency "io.projectreactor.ipc:reactor-netty:0.7.0.RELEASE"
|
|
}
|
|
|
|
pass {
|
|
group = "io.projectreactor.ipc"
|
|
module = "reactor-netty"
|
|
versions = "[0.7.0.RELEASE,)"
|
|
extraDependency "org.springframework:spring-webflux:5.0.0.RELEASE"
|
|
}
|
|
}
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':instrumentation-core:spring:spring-webflux-5.0')
|
|
compileOnly group: 'org.springframework', name: 'spring-webflux', version: '5.0.0.RELEASE'
|
|
compileOnly group: 'io.projectreactor.ipc', name: 'reactor-netty', version: '0.7.0.RELEASE'
|
|
|
|
testImplementation project(':instrumentation:netty:netty-4.1')
|
|
testImplementation project(':instrumentation:reactor-3.1')
|
|
|
|
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-webflux', version: '2.0.0.RELEASE'
|
|
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.0.0.RELEASE'
|
|
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-reactor-netty', version: '2.0.0.RELEASE'
|
|
testImplementation group: 'org.spockframework', name: 'spock-spring', version: '1.1-groovy-2.4'
|
|
|
|
// FIXME: reactor-netty packages have changed so test imports are failing
|
|
latestDepTestImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-webflux', version: '2.0.+'
|
|
latestDepTestImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.0.+'
|
|
latestDepTestImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-reactor-netty', version: '2.0.+'
|
|
}
|