getting javadoc to build

Change-Id: I7f214c6ce5a876f458626e12c8cfdd3072ad107f
diff --git a/core/api/BUCK b/core/api/BUCK
index b066908..800a7f1 100644
--- a/core/api/BUCK
+++ b/core/api/BUCK
@@ -8,4 +8,6 @@
 osgi_jar_with_tests (
     name = 'onos-api',
     deps = COMPILE_DEPS,
+    javadoc_files = glob(['src/main/javadoc/**/*']),
+    javadoc_files_root = 'src/main/javadoc',
 )
\ No newline at end of file