blob: e8d2c216c05ce92010751870ec2f1e15a3d4af2d [file] [log] [blame]
Ray Milkey275af2c2018-06-15 13:05:08 -07001SWAGGER_EXECUTABLE = "swagger_generator"
2
3COMPILE_DEPS = JACKSON + [
Carmelo Cascone72893b72018-08-09 00:59:06 -07004 "@com_google_guava_guava//jar",
Ray Milkey275af2c2018-06-15 13:05:08 -07005 "@qdox//jar",
6 "@org_apache_felix_scr_bnd//jar",
7]
8
9java_binary(
10 name = SWAGGER_EXECUTABLE,
11 srcs = glob(["src/main/java/org/onosproject/onosjar/SwaggerGenerator.java"]),
12 main_class = "org.onosproject.onosjar.SwaggerGenerator",
13 resources = glob(["src/main/resources/registrator.javat"]),
14 visibility = ["//visibility:public"],
15 deps = COMPILE_DEPS,
16)