37 lines
1.3 KiB
Groovy
37 lines
1.3 KiB
Groovy
// Set properties before any plugins get loaded
|
|
ext {
|
|
minJavaVersionForTests = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
apply from: "${rootDir}/gradle/java.gradle"
|
|
|
|
apply plugin: 'org.unbroken-dome.test-sets'
|
|
|
|
testSets {
|
|
latestDepTest {
|
|
dirName = 'test'
|
|
}
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
dependencies {
|
|
// compileOnly group: 'io.vertx', name: 'vertx-web', version: '3.5.0'
|
|
|
|
testCompile project(':dd-java-agent:instrumentation:netty-4.1')
|
|
testCompile project(':dd-java-agent:instrumentation:trace-annotation')
|
|
|
|
// Tests seem to fail before 3.5... maybe a problem with some of the tests?
|
|
testCompile group: 'io.vertx', name: 'vertx-web', version: '3.5.0'
|
|
testCompile group: 'io.vertx', name: 'vertx-web-client', version: '3.5.0'
|
|
testCompile group: 'io.vertx', name: 'vertx-circuit-breaker', version: '3.5.0'
|
|
testCompile group: 'io.vertx', name: 'vertx-rx-java2', version: '3.5.0'
|
|
|
|
// 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-circuit-breaker', version: '3.+'
|
|
latestDepTestCompile group: 'io.vertx', name: 'vertx-rx-java2', version: '3.+'
|
|
}
|