-
Notifications
You must be signed in to change notification settings - Fork 331
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (36 loc) · 1.79 KB
/
build.gradle
File metadata and controls
44 lines (36 loc) · 1.79 KB
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
// Set properties before any plugins get loaded
ext {
}
apply from: "$rootDir/gradle/java.gradle"
minimumBranchCoverage = 0.80
excludedClassesCoverage += [
// Large parts of this class are jvm specific which makes jacoco really confused since we run it only for 'default' jvm
'com.datadog.profiling.uploader.util.PidHelper',
// The byte counting input/output stream are delegating most of their methods so it does not make sense to force the coverage there
'com.datadog.profiling.uploader.ByteCountingInputStream',
'com.datadog.profiling.uploader.ByteCountingOutputStream',
// A call-back inner class holds few enough instructions to make not testing with different log levels to breach the jacoco limits
'com.datadog.profiling.uploader.ProfileUploader.1',
// When running on Java 8 without `jfr`, no code is executed
'com.datadog.profiling.uploader.util.JfrCliHelper',
'com.datadog.profiling.uploader.util.JfrCliHelper.Event'
]
dependencies {
implementation libs.slf4j
implementation project(':communication')
implementation project(':internal-api')
implementation project(':utils:container-utils')
implementation project(':utils:logging-utils')
implementation project(':utils:socket-utils')
implementation project(':utils:version-utils')
implementation project(':dd-java-agent:agent-profiling:profiling-controller')
implementation libs.okhttp
implementation libs.lz4
implementation libs.aircompressor
testImplementation project(':dd-java-agent:agent-profiling:profiling-testing')
testImplementation project(':utils:test-utils')
testImplementation libs.bundles.junit5
testImplementation libs.bundles.mockito
testImplementation libs.jackson.databind
testImplementation group: 'com.squareup.okhttp3', name: 'mockwebserver', version: libs.versions.okhttp.legacy.get()
}