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
+)
diff --git a/core/common/BUCK b/core/common/BUCK
index 75999d5..46d519d 100644
--- a/core/common/BUCK
+++ b/core/common/BUCK
@@ -1,7 +1,10 @@
SRC_DEPS = [
'//lib:CORE_DEPS',
+ '//lib:JACKSON',
+ '//lib:METRICS',
'//incubator/api:onos-incubator-api',
'//core/api:onos-api',
+ '//lib:joda-time',
]
TEST_DEPS = [
diff --git a/core/net/BUCK b/core/net/BUCK
index f89254e..26b898d 100644
--- a/core/net/BUCK
+++ b/core/net/BUCK
@@ -1,11 +1,15 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
+ '//lib:JACKSON',
+ '//lib:METRICS',
+ '//lib:KRYO',
'//core/common:onos-core-common',
'//incubator/api:onos-incubator-api',
'//utils/rest:onlab-rest',
'//incubator/net:onos-incubator-net',
'//incubator/store:onos-incubator-store',
'//core/store/serializers:onos-core-serializers',
+ '//lib:joda-time',
]
TEST_DEPS = [
@@ -14,7 +18,8 @@
'//core/store/dist:onos-core-dist',
'//core/store/dist:onos-core-dist-tests',
'//utils/osgi:onlab-osgi-tests',
- '//incubator/bmv2/model:onos-incubator-bmv2-model'
+ '//incubator/bmv2/model:onos-incubator-bmv2-model',
+ '//lib:minimal-json',
]
osgi_jar_with_tests (
diff --git a/core/security/BUCK b/core/security/BUCK
index dc17338..c9a6a91 100644
--- a/core/security/BUCK
+++ b/core/security/BUCK
@@ -1,5 +1,6 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
+ '//lib:KRYO',
'//core/store/serializers:onos-core-serializers',
]
diff --git a/core/store/dist/BUCK b/core/store/dist/BUCK
index 0e4731e..3483f64 100644
--- a/core/store/dist/BUCK
+++ b/core/store/dist/BUCK
@@ -1,5 +1,8 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
+ '//lib:NETTY',
+ '//lib:JACKSON',
+ '//lib:KRYO',
'//core/common:onos-core-common',
'//utils/rest:onlab-rest',
'//core/store/serializers:onos-core-serializers',
@@ -11,6 +14,7 @@
'//lib:netty-resolver',
'//lib:commons-math3',
'//incubator/api:onos-incubator-api',
+ '//lib:joda-time',
]
TEST_DEPS = [
diff --git a/core/store/primitives/BUCK b/core/store/primitives/BUCK
index e90ea5d..1860c07 100644
--- a/core/store/primitives/BUCK
+++ b/core/store/primitives/BUCK
@@ -1,5 +1,6 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
+ '//lib:KRYO',
'//core/common:onos-core-common',
'//incubator/api:onos-incubator-api',
'//core/store/serializers:onos-core-serializers',
diff --git a/core/store/serializers/BUCK b/core/store/serializers/BUCK
index 1b8efcf..c1c66da 100644
--- a/core/store/serializers/BUCK
+++ b/core/store/serializers/BUCK
@@ -1,5 +1,6 @@
COMPILE_DEPS = [
'//lib:CORE_DEPS',
+ '//lib:KRYO',
'//incubator/api:onos-incubator-api',
]