-
Notifications
You must be signed in to change notification settings - Fork 332
Expand file tree
/
Copy pathbuild.gradle
More file actions
27 lines (22 loc) · 811 Bytes
/
build.gradle
File metadata and controls
27 lines (22 loc) · 811 Bytes
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
muzzle {
pass {
coreJdk()
}
}
apply from: "$rootDir/gradle/java.gradle"
apply plugin: 'dd-trace-java.call-site-instrumentation'
addTestSuiteForDir('latestDepTest', 'test')
addTestSuiteForDir('java11Test', 'java11Test')
// java11Test only runs on JDK 11+; the testJvmConstraints plugin reads this property by convention
ext.java11TestMinJavaVersionForTests = JavaVersion.VERSION_11
tasks.named("compileJava11TestJava", JavaCompile) {
configureCompiler(it, 11)
}
tasks.named("compileJava11TestGroovy", GroovyCompile) {
configureCompiler(it, 11)
}
dependencies {
testRuntimeOnly project(':dd-java-agent:instrumentation:datadog:asm:iast-instrumenter')
testImplementation group: 'org.apache.tomcat', name: 'tomcat-catalina', version: '9.0.56'
java11TestImplementation sourceSets.test.output
}