Initial gradle projects
ADD
dd-trace-ext/README.md
+# Convenience Utils for Datadog Tracer Internal API
+- Trace Scopes
+- Global Tracer
+- Async controls

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

ADD
dd-trace/README.md
+# 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.

ADD
dd-trace/dd-trace.gradle
+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'
+}

MODIFY
settings.gradle
settings.gradle
rootProject.name = 'dd-trace-java'
+// 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-bootstrap'
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'

Initial gradle projects