opentelemetry-java-instrume.../instrumentation/vertx-reactive/vertx-reactive.gradle

49 lines
1.6 KiB
Groovy

ext {
minJavaVersionForTests = JavaVersion.VERSION_1_8
}
apply from: "$rootDir/gradle/instrumentation.gradle"
apply plugin: 'org.unbroken-dome.test-sets'
muzzle {
pass {
group = 'io.vertx'
module = 'vertx-rx-java2'
versions = "[3.5.0,)"
}
}
testSets {
latestDepTest {
dirName = 'test'
}
}
//The first Vert.x version that uses rx-java 2
ext.vertxVersion = '3.5.0'
dependencies {
compileOnly group: 'io.vertx', name: 'vertx-web', version: vertxVersion
compileOnly group: 'io.vertx', name: 'vertx-rx-java2', version: vertxVersion
testCompile project(':instrumentation:jdbc')
testCompile project(':instrumentation:netty:netty-4.1')
testCompile project(':instrumentation:trace-annotation')
testCompile project(':instrumentation:vertx')
testCompile group: 'io.vertx', name: 'vertx-web', version: vertxVersion
testCompile group: 'io.vertx', name: 'vertx-web-client', version: vertxVersion
testCompile group: 'io.vertx', name: 'vertx-jdbc-client', version: vertxVersion
testCompile group: 'io.vertx', name: 'vertx-circuit-breaker', version: vertxVersion
testCompile group: 'io.vertx', name: 'vertx-rx-java2', version: vertxVersion
testCompile 'org.hsqldb:hsqldb:2.3.4'
// Vert.x 4.0 is incompatible with our tests.
latestDepTestCompile group: 'io.vertx', name: 'vertx-web', version: '3.+'
latestDepTestCompile group: 'io.vertx', name: 'vertx-web-client', version: '3.+'
latestDepTestCompile group: 'io.vertx', name: 'vertx-jdbc-client', version: '3.+'
latestDepTestCompile group: 'io.vertx', name: 'vertx-circuit-breaker', version: '3.+'
latestDepTestCompile group: 'io.vertx', name: 'vertx-rx-java2', version: '3.+'
}