Refactor buck external dependencies

Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
diff --git a/web/api/BUCK b/web/api/BUCK
index b44a847..69c1cbf 100644
--- a/web/api/BUCK
+++ b/web/api/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:METRICS',
     '//incubator/api:onos-incubator-api',
     '//lib:javax.ws.rs-api',
     '//utils/rest:onlab-rest',
@@ -7,6 +9,7 @@
 
 TEST_DEPS = [
     '//lib:TEST_REST',
+    '//lib:minimal-json',
 ]
 
 osgi_jar_with_tests (
diff --git a/web/gui/BUCK b/web/gui/BUCK
index cacd7b7..7c0747e 100644
--- a/web/gui/BUCK
+++ b/web/gui/BUCK
@@ -2,6 +2,8 @@
 
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:JACKSON',
+    '//lib:KRYO',
     '//lib:javax.ws.rs-api',
     '//lib:servlet-api',
     '//lib:jetty-websocket',
@@ -14,7 +16,8 @@
     '//incubator/net:onos-incubator-net',
     '//utils/rest:onlab-rest',
     '//core/store/serializers:onos-core-serializers',
-    ':onos-tools-gui'
+    ':onos-tools-gui',
+    '//lib:joda-time',
 ]
 
 TEST_DEPS = [