26 lines
835 B
Groovy
26 lines
835 B
Groovy
apply from: "${rootDir}/gradle/java.gradle"
|
|
|
|
// We have some general logging paths that are hard to test
|
|
minimumInstructionCoverage = 0.8
|
|
|
|
excludedClassesCoverage += [
|
|
// ControllerFactory gets better tested in actual controller implementations
|
|
'com.datadog.profiling.controller.ControllerFactory',
|
|
// There are some code paths that is impossible/very-very hard to hit
|
|
'com.datadog.profiling.controller.ProfilingSystem.StartRecording',
|
|
'com.datadog.profiling.controller.ProfilingSystem.StopRecording'
|
|
]
|
|
|
|
dependencies {
|
|
compile deps.slf4j
|
|
compile project(':dd-trace-api')
|
|
|
|
testCompile deps.junit5
|
|
testCompile deps.guava
|
|
testCompile deps.mockito
|
|
testCompile group: 'org.awaitility', name: 'awaitility', version: '4.0.1'
|
|
}
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|