Skip to content

Commit

Permalink
JavaInfo provider should be given for deps (#774)
Browse files Browse the repository at this point in the history
* a JavaInfo provider should be given for deps

* flatten providers lists

* Revert "flatten providers lists"

This reverts commit a464f61.
  • Loading branch information
long-stripe authored and johnynek committed Jul 17, 2019
1 parent e1f6697 commit ce42208
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions scala/scala.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,13 @@ _common_attrs_for_plugin_bootstrapping = {
".srcjar",
".java",
]),
"deps": attr.label_list(aspects = [
_collect_plus_one_deps_aspect,
_coverage_replacements_provider.aspect,
]),
"deps": attr.label_list(
aspects = [
_collect_plus_one_deps_aspect,
_coverage_replacements_provider.aspect,
],
providers = [[JavaInfo]],
),
"plugins": attr.label_list(allow_files = [".jar"]),
"runtime_deps": attr.label_list(providers = [[JavaInfo]]),
"data": attr.label_list(allow_files = True),
Expand Down Expand Up @@ -695,4 +698,4 @@ def scala_specs2_junit_test(name, **kwargs):
**kwargs
)

scala_doc = _scala_doc
scala_doc = _scala_doc

0 comments on commit ce42208

Please sign in to comment.