blob: 1706641538e9e54d3a8b11d54e20eb2096908649 [file] [log] [blame]
SRC = "src/main/java/org/onlab/**/"
TEST_SRC = "src/test/java/org/onlab/**/"
COMPILE_DEPS = [
"@guava//jar",
"@slf4j_api//jar",
"@hamcrest_all//jar",
"@junit//jar",
]
TEST_DEPS = [
"@guava_testlib//jar",
]
osgi_jar_with_tests(
name = "onlab-junit",
srcs = glob([SRC + "*.java"]),
group = "org.onlab",
test_deps = TEST_DEPS,
test_srcs = glob([TEST_SRC + "*.java"]),
visibility = ["//visibility:public"],
deps = COMPILE_DEPS,
)