Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
diff --git a/tools/build/swagger/BUILD b/tools/build/swagger/BUILD
new file mode 100644
index 0000000..fff3296
--- /dev/null
+++ b/tools/build/swagger/BUILD
@@ -0,0 +1,16 @@
+SWAGGER_EXECUTABLE = "swagger_generator"
+
+COMPILE_DEPS = JACKSON + [
+ "@com_google_guava_guava//jar",
+ "@qdox//jar",
+ "@org_apache_felix_scr_bnd//jar",
+]
+
+java_binary(
+ name = SWAGGER_EXECUTABLE,
+ srcs = glob(["src/main/java/org/onosproject/swagger/SwaggerGenerator.java"]),
+ main_class = "org.onosproject.swagger.SwaggerGenerator",
+ resources = glob(["src/main/resources/registrator.javat"]),
+ visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
+)