Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
diff --git a/cli/BUCK b/cli/BUCK
new file mode 100644
index 0000000..521be31
--- /dev/null
+++ b/cli/BUCK
@@ -0,0 +1,22 @@
+SRC = 'src/main/java/org/onosproject/**/'
+
+CURRENT_NAME = 'onos-cli'
+CURRENT_TARGET = ':' + CURRENT_NAME
+
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//lib:org.apache.karaf.shell.console',
+ '//incubator/api:onos-incubator-api',
+ '//utils/rest:onlab-rest',
+ '//core/common:onos-core-common',
+]
+
+java_library(
+ name = CURRENT_NAME,
+ srcs = glob([SRC + '/*.java']),
+ deps = COMPILE_DEPS,
+ visibility = ['PUBLIC'],
+ resources_root = 'src/main/resources',
+ resources = glob(['src/main/resources/**']),
+)
+