diff --git a/rules/scala.bzl b/rules/scala.bzl index 9c107d23..c7a569eb 100644 --- a/rules/scala.bzl +++ b/rules/scala.bzl @@ -90,6 +90,7 @@ _compile_attributes = { ".java", ".srcjar", ], + flags = ["DIRECT_COMPILE_TIME_INPUT"], ), "data": attr.label_list( doc = "The additional runtime files needed by this library.",