-
Notifications
You must be signed in to change notification settings - Fork 293
/
Copy pathbuild.gradle
42 lines (33 loc) · 1.23 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
// 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.8.1,5)"
assertInverse = true
}
}
addTestSuiteForDir('latestDepTest', 'test')
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.9.0'
testImplementation project(':dd-java-agent:instrumentation:netty-4.1')
testImplementation project(':dd-java-agent:instrumentation:trace-annotation')
testImplementation(testFixtures(project(':dd-java-agent:agent-iast')))
testImplementation group: 'io.vertx', name: 'vertx-web', version: '3.9.0'
testImplementation group: 'io.vertx', name: 'vertx-web-client', version: '3.9.0'
testRuntimeOnly project(':dd-java-agent:instrumentation:jackson-core')
testRuntimeOnly project(':dd-java-agent:instrumentation:netty-buffer-4')
testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter')
}