Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
a JavaInfo provider should be given for deps
Browse files Browse the repository at this point in the history
  • Loading branch information
long-stripe committed Jun 19, 2019
1 parent 24b06ee commit 18244ea
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 @@ -705,4 +708,4 @@ def scala_specs2_junit_test(name, **kwargs):
**kwargs
)

scala_doc = _scala_doc
scala_doc = _scala_doc

0 comments on commit 18244ea

Please sign in to comment.