diff options
author | Kristen Kozak <sebright@google.com> | 2017-04-27 16:48:26 -0700 |
---|---|---|
committer | Kristen Kozak <sebright@google.com> | 2017-04-27 17:46:50 -0700 |
commit | cfb22894acdf0d9c8b763f5daa1c7e12800a8fdf (patch) | |
tree | 3c4bd3743a8d955cb8de8ab19e8991b7bb8f7e6d /all | |
parent | 948af51566c721b39f7378a79dcae049500066d2 (diff) | |
download | opencensus-java-cfb22894acdf0d9c8b763f5daa1c7e12800a8fdf.tar.gz |
Avoid generating Javadocs for duplicate classes.
Including instrumentation-java-core-impl-java-7,
instrumentation-java-core-impl-java-8, and
instrumentation-java-core-impl-android in all/build.gradle caused the Gradle
javadoc command to throw a NPE because there were multiple StatsManagerImpls.
Diffstat (limited to 'all')
-rw-r--r-- | all/build.gradle | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/all/build.gradle b/all/build.gradle index 42cb16cb..143e4cb3 100644 --- a/all/build.gradle +++ b/all/build.gradle @@ -11,13 +11,15 @@ buildscript { } } +// TODO(sebright): Look into handling instrumentation-java-core-impl-java-7, +// instrumentation-java-core-impl-java-8, and +// instrumentation-java-core-impl-android. 'subprojects' currently doesn't +// include all directories, because Javadoc cannot handle multiple classes with +// the same name, such as StatsManagerImpl. def subprojects = [ project(':instrumentation-java-core'), project(':instrumentation-java-core-impl'), - project(':instrumentation-java-core-impl-android'), project(':instrumentation-java-core-impl-java'), - project(':instrumentation-java-core-impl-java-7'), - project(':instrumentation-java-core-impl-java-8'), ] for (subproject in rootProject.subprojects) { |