Initial gradle projects

This commit is contained in:
Andrew Kent 2018-12-03 11:45:29 -08:00
parent acda01a7fd
commit 0e6a416b57
5 changed files with 43 additions and 3 deletions

4
dd-trace-ext/README.md Normal file
View File

@ -0,0 +1,4 @@
# Convenience Utils for Datadog Tracer Internal API
- Trace Scopes
- Global Tracer
- Async controls

View File

@ -0,0 +1,6 @@
description = 'dd-trace-ext'
apply from: "${rootDir}/gradle/java.gradle"
dependencies {
compile project(':dd-trace')
}

4
dd-trace/README.md Normal file
View File

@ -0,0 +1,4 @@
# Datadog Tracer Internal API
Contains the core elements needed to create and report APM traces to Datadog.
It's recommended to use `dd-trace-utils` in addition to this api.

17
dd-trace/dd-trace.gradle Normal file
View File

@ -0,0 +1,17 @@
description = 'dd-trace'
apply from: "${rootDir}/gradle/java.gradle"
// TODO: Move over any special setups from dd-trace-ot (e.g. trace-agent integration tests).
dependencies {
annotationProcessor deps.autoservice
implementation deps.autoservice
compile project(':dd-trace-api')
compile deps.jackson
compile deps.slf4j
// any higher versions seems to break ES tests with this exception:
// java.lang.NoSuchMethodError: com.fasterxml.jackson.dataformat.smile.SmileGenerator.getOutputContext()
compile group: 'org.msgpack', name: 'jackson-dataformat-msgpack', version: '0.8.14'
}

View File

@ -1,13 +1,22 @@
rootProject.name = 'dd-trace-java'
include ':dd-trace-ot'
include ':dd-java-agent'
// core tracing projects
include ':dd-trace-api'
include ':dd-java-agent:agent-bootstrap'
include ':dd-trace'
include ':dd-trace-ext'
// implements for third-party tracing libraries
include ':dd-trace-ot'
// agent projects
include ':dd-java-agent'
include ':dd-java-agent:agent-tooling'
include ':dd-java-agent:agent-jmxfetch'
// misc
include ':dd-java-agent:testing'
include ':dd-java-agent-ittests'
include ':dd-trace-api'
// instrumentation:
include ':dd-java-agent:instrumentation:akka-http-10.0'