aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2017-04-27 13:12:45 -0700
committerKristen Kozak <sebright@google.com>2017-04-27 17:46:50 -0700
commit9ea92f13b50d854b4a645a84564bab8064914ea6 (patch)
treeb1f75d8f92c2bce01ad7e48d51ac215de9e6d954 /settings.gradle
parent4914e1330491f4cf53f164e2c026ec05abf5e27c (diff)
downloadopencensus-java-9ea92f13b50d854b4a645a84564bab8064914ea6.tar.gz
Split core_impl into directories for Android, Java 7, and Java 8.
This directory structure will allow us to support the three Java versions but also take advantage of the features available in each one. Each directory has a readme. I refactored the stats code so that there is one StatsManagerImpl for each of Android, Java 7, and Java 8. StatsManagerImpl is loaded with reflection, and it specifies the stats classes that should be used for the implementation. I also moved DisruptorEventQueue to core_impl_java, since it isn't Android-compatible. This commit doesn't affect tracing.
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle10
1 files changed, 9 insertions, 1 deletions
diff --git a/settings.gradle b/settings.gradle
index 180b4bfd..f5acf453 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -3,12 +3,20 @@ include ":instrumentation-java-all"
include ":instrumentation-java-benchmarks"
include ":instrumentation-java-core"
include ":instrumentation-java-core-impl"
+include ":instrumentation-java-core-impl-java"
+include ":instrumentation-java-core-impl-java-7"
+include ":instrumentation-java-core-impl-java-8"
+include ":instrumentation-java-core-impl-android"
include ":shared"
project(':instrumentation-java-all').projectDir = "$rootDir/all" as File
project(':instrumentation-java-benchmarks').projectDir = "$rootDir/benchmarks" as File
project(':instrumentation-java-core').projectDir = "$rootDir/core" as File
project(':instrumentation-java-core-impl').projectDir = "$rootDir/core_impl" as File
+project(':instrumentation-java-core-impl-java').projectDir = "$rootDir/core_impl_java" as File
+project(':instrumentation-java-core-impl-java-7').projectDir = "$rootDir/core_impl_java_7" as File
+project(':instrumentation-java-core-impl-java-8').projectDir = "$rootDir/core_impl_java_8" as File
+project(':instrumentation-java-core-impl-android').projectDir = "$rootDir/core_impl_android" as File
project(':shared').projectDir = "$rootDir/shared" as File
// Java8 projects only
@@ -16,4 +24,4 @@ if (JavaVersion.current().isJava8Compatible()) {
include ":instrumentation-examples"
project(':instrumentation-examples').projectDir = "$rootDir/examples" as File
-} \ No newline at end of file
+}