aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorBogdan Drutu <bdrutu@google.com>2017-03-22 19:23:35 -0700
committerGitHub <noreply@github.com>2017-03-22 19:23:35 -0700
commitb0e60500627291bb71c2a1d0eda84fab7af790df (patch)
tree1401c24e077c202c38869149f37e3e35aff2f387 /settings.gradle
parent25486324e39093a68eb01e89a99b723241d21b90 (diff)
downloadopencensus-java-b0e60500627291bb71c2a1d0eda84fab7af790df.tar.gz
Remove maven support for instrumentation-java. (#166)
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle9
1 files changed, 7 insertions, 2 deletions
diff --git a/settings.gradle b/settings.gradle
index f9810d14..68cd7afc 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -3,7 +3,6 @@ include ":instrumentation-all"
include ":instrumentation-benchmarks"
include ":instrumentation-core"
include ":instrumentation-core-impl"
-include ":instrumentation-examples"
include ":proto"
include ":shared"
@@ -11,6 +10,12 @@ project(':instrumentation-all').projectDir = "$rootDir/all" as File
project(':instrumentation-benchmarks').projectDir = "$rootDir/benchmarks" as File
project(':instrumentation-core').projectDir = "$rootDir/core" as File
project(':instrumentation-core-impl').projectDir = "$rootDir/core_impl" as File
-project(':instrumentation-examples').projectDir = "$rootDir/examples" as File
project(':proto').projectDir = "$rootDir/proto" as File
project(':shared').projectDir = "$rootDir/shared" as File
+
+// Java8 projects only
+if (JavaVersion.current().isJava8Compatible()) {
+ include ":instrumentation-examples"
+
+ project(':instrumentation-examples').projectDir = "$rootDir/examples" as File
+} \ No newline at end of file