Refactor buck external dependencies

Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
diff --git a/core/api/BUCK b/core/api/BUCK
index 800a7f1..ea9642d 100644
--- a/core/api/BUCK
+++ b/core/api/BUCK
@@ -1,8 +1,14 @@
 COMPILE_DEPS = [
     '//lib:COMPILE',
+    '//lib:NETTY',
+    '//lib:JACKSON',
+    '//lib:METRICS',
+    '//lib:KRYO',
     '//utils/misc:onlab-misc',
     '//utils/osgi:onlab-osgi',
     '//utils/rest:onlab-rest',
+    '//lib:joda-time',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
@@ -10,4 +16,4 @@
     deps = COMPILE_DEPS,
     javadoc_files = glob(['src/main/javadoc/**/*']),
     javadoc_files_root = 'src/main/javadoc',
-)
\ No newline at end of file
+)