forked from DataDog/dd-trace-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (44 loc) · 1.73 KB
/
build.gradle
File metadata and controls
53 lines (44 loc) · 1.73 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
44
45
46
47
48
49
50
51
52
53
plugins {
id "com.github.johnrengelman.shadow"
}
apply from: "$rootDir/gradle/java.gradle"
excludedClassesCoverage += [
// ControllerFactory gets better tested in actual controller implementations
'com.datadog.profiling.agent.ControllerFactory',
'com.datadog.profiling.agent.ProfilingAgent',
'com.datadog.profiling.agent.ProfilingAgent.ShutdownHook',
'com.datadog.profiling.agent.ProfilingAgent.DataDumper'
]
dependencies {
api deps.slf4j
api project(':internal-api')
implementation project(path: ':dd-java-agent:agent-profiling:profiling-ddprof', configuration: 'shadow')
api project(':dd-java-agent:agent-profiling:profiling-auxiliary')
api project(':dd-java-agent:agent-profiling:profiling-auxiliary-ddprof')
api project(':dd-java-agent:agent-profiling:profiling-uploader')
api project(':dd-java-agent:agent-profiling:profiling-controller')
api project(':dd-java-agent:agent-profiling:profiling-controller-jfr')
api project(':dd-java-agent:agent-profiling:profiling-controller-jfr:implementation')
api project(':dd-java-agent:agent-profiling:profiling-controller-ddprof')
api project(':dd-java-agent:agent-profiling:profiling-controller-openjdk')
api project(':dd-java-agent:agent-profiling:profiling-controller-oracle')
testImplementation deps.junit5
testImplementation deps.mockito
}
Project parent_project = project
subprojects { Project subProj ->
subProj.tasks.withType(Test).configureEach { subTask ->
onlyIf { !project.rootProject.hasProperty("skipProfilingTests") }
}
}
configurations {
// exclude bootstrap dependencies from shadowJar
runtime.exclude module: deps.slf4j
runtime.exclude group: 'org.slf4j'
}
shadowJar {
dependencies deps.excludeShared
}
jar {
archiveClassifier = 'unbundled'
}