Ray Milkey | 275af2c | 2018-06-15 13:05:08 -0700 | [diff] [blame] | 1 | SWAGGER_EXECUTABLE = "swagger_generator" |
| 2 | |
| 3 | COMPILE_DEPS = JACKSON + [ |
| 4 | "@guava//jar", |
| 5 | "@qdox//jar", |
| 6 | "@org_apache_felix_scr_bnd//jar", |
| 7 | ] |
| 8 | |
| 9 | java_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 | ) |