diff options
author | Francois-Rene Rideau <tunes@google.com> | 2015-04-07 06:05:19 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-04-08 08:45:53 +0000 |
commit | c445809d11f82643b9a29636fd241aefef48fe9b (patch) | |
tree | 8a57d36013a80cd227435f68bfa5056271d86fab /examples | |
parent | d99b27b12437fd7f12c80f1ecebb66e4abf3d754 (diff) |
Add Google auto to bazel
Add the Google auto generators for Java, for the sake of using AutoValue.
Include dependencies apache commons collections and apache velocity.
--
MOS_MIGRATED_REVID=90482044
Diffstat (limited to 'examples')
-rw-r--r-- | examples/java-skylark/src/test/java/com/example/myproject/BUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/java-skylark/src/test/java/com/example/myproject/BUILD b/examples/java-skylark/src/test/java/com/example/myproject/BUILD index 1d6b9c3c3f..a38d22208a 100644 --- a/examples/java-skylark/src/test/java/com/example/myproject/BUILD +++ b/examples/java-skylark/src/test/java/com/example/myproject/BUILD @@ -1,11 +1,16 @@ -load("/tools/build_rules/java_rules_skylark", "java_test") +load("/tools/build_rules/java_rules_skylark", "java_library", "java_test") + +java_library( + name = "junit4", + jars = ["//third_party:junit4-jars"], +) java_test( name = "pass", srcs = ["TestHello.java"], deps = [ + ":junit4", "//examples/java-skylark/src/main/java/com/example/myproject:hello-lib", - "//third_party:junit4-skylark", ], ) |