blob: 1706641538e9e54d3a8b11d54e20eb2096908649 [file] [log] [blame]
Ray Milkey0bcdfd12018-05-23 14:07:19 -07001SRC = "src/main/java/org/onlab/**/"
2
3TEST_SRC = "src/test/java/org/onlab/**/"
Ray Milkey7dac7da2017-08-01 16:56:05 -07004
5COMPILE_DEPS = [
Ray Milkey0bcdfd12018-05-23 14:07:19 -07006 "@guava//jar",
7 "@slf4j_api//jar",
8 "@hamcrest_all//jar",
9 "@junit//jar",
Ray Milkey7dac7da2017-08-01 16:56:05 -070010]
11
12TEST_DEPS = [
13 "@guava_testlib//jar",
14]
15
16osgi_jar_with_tests(
Ray Milkey0bcdfd12018-05-23 14:07:19 -070017 name = "onlab-junit",
18 srcs = glob([SRC + "*.java"]),
Ray Milkey275af2c2018-06-15 13:05:08 -070019 group = "org.onlab",
Ray Milkey7dac7da2017-08-01 16:56:05 -070020 test_deps = TEST_DEPS,
Ray Milkey0bcdfd12018-05-23 14:07:19 -070021 test_srcs = glob([TEST_SRC + "*.java"]),
Ray Milkey7dac7da2017-08-01 16:56:05 -070022 visibility = ["//visibility:public"],
Ray Milkey0bcdfd12018-05-23 14:07:19 -070023 deps = COMPILE_DEPS,
Ray Milkey7dac7da2017-08-01 16:56:05 -070024)