File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,18 @@ java_binary(
1414# For now, we have to use a java_import proxy.
1515java_import (
1616 name = "lib_import" ,
17- jars = [":HelloLib_deploy.jar" ],
17+ # these are the outputs of the scala_library targets
18+ jars = [":HelloLib_deploy.jar" ,
19+ "OtherLib_deploy.jar" ,
20+ "Exported_deploy.jar" ,
21+ "Runtime_deploy.jar" ,
22+ ],
23+ runtime_deps = ["org_scala_lang__scala_library" , "OtherJavaLib" ]
24+ )
25+
26+ java_import (
27+ name = "org_scala_lang__scala_library" ,
28+ jars = ["@scala//:lib/scala-library.jar" ]
1829)
1930
2031scala_binary (
Original file line number Diff line number Diff line change 55bazel build test/... \
66 && bazel run test:ScalaBinary \
77 && bazel run test:ScalaLibBinary \
8+ && bazel run test:JavaBinary \
89 && bazel test test/...
9-
10- # TODO: this is also broken
11- # && bazel run test:JavaBinary \
You can’t perform that action at this time.
0 commit comments