blob: c03924f7a7ff2cf21e95304d8574b9330f6c681f [file] [log] [blame]
load("//tools/build_rules:java_rules_skylark.bzl", "java_library", "java_test")
java_library(
name = "junit4",
jars = ["//third_party:junit4-jars"],
)
java_test(
name = "pass",
srcs = ["TestHello.java"],
deps = [
":junit4",
"//examples/java-starlark/src/main/java/com/example/myproject:hello-lib",
],
)
java_test(
name = "fail",
srcs = ["Fail.java"],
main_class = "com.example.myproject.Fail",
)
filegroup(
name = "srcs",
srcs = glob(["**/*.java"]) + ["BUILD"],
visibility = ["//examples/java-starlark:__pkg__"],
)