-
Notifications
You must be signed in to change notification settings - Fork 293
/
Copy pathbuild.gradle
45 lines (34 loc) · 1.12 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Set properties before any plugins get loaded
ext {
// TODO Java 17: This version of vertx-web doesn't support Java 17
maxJavaVersionForTests = JavaVersion.VERSION_15
}
apply from: "$rootDir/gradle/java.gradle"
muzzle {
pass {
group = 'io.vertx'
module = "vertx-web"
versions = "[3.5.0,4)"
assertInverse = true
}
}
addTestSuiteForDir('latestDepTest', 'test')
addTestSuiteExtendingForDir('latestDepForkedTest', 'latestDepTest', 'test')
apply from: "$rootDir/gradle/configure_tests.gradle"
latestDepTest {
finalizedBy 'latestDepForkedTest'
}
configurations {
testArtifacts
}
// Create test artifacts so vertx-rx can reuse the server test instrumentation and base class
artifacts {
testArtifacts testJar
}
dependencies {
compileOnly group: 'io.vertx', name: 'vertx-web', version: '3.5.0'
testImplementation project(':dd-java-agent:instrumentation:netty-4.1')
testImplementation project(':dd-java-agent:instrumentation:trace-annotation')
testImplementation group: 'io.vertx', name: 'vertx-web', version: '3.5.0'
latestDepTestImplementation group: 'io.vertx', name: 'vertx-web', version: '3.+'
}