blob: 2e8e69089276768df9ee3d40eec71305d19a9483 [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"]),
test_deps = TEST_DEPS,
test_srcs = glob([TEST_SRC + "*.java"]),
visibility = ["//visibility:public"],
deps = COMPILE_DEPS,
)