diff options
author | cushon <cushon@google.com> | 2018-07-25 22:28:00 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-25 22:29:29 -0700 |
commit | 9b29a1bd7bbe37500b28a6508cb82ca1943c75b5 (patch) | |
tree | 45a017f07610438494c011b0df81554ca9481a48 /src/main/java/com/google/devtools/build/lib/bazel | |
parent | ca2977c2504df02ca2c8f8b6b2db75c6dad759ef (diff) |
Add support for data dependencies to java_plugin and java_package_configuration
This allows loading data inputs to annotation processors and Error Prone plugins.
Previously the only supported way to do this was using Java resources, but in
the case of per-package configuration that ties any changes to the resources
to JavaBuilder's release process.
PiperOrigin-RevId: 206106802
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/bazel')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaPluginRule.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaPluginRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaPluginRule.java index 1fa1f74911..fed046784c 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaPluginRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaPluginRule.java @@ -70,7 +70,6 @@ public final class BazelJavaPluginRule implements RuleDefinition { .removeAttribute("runtime_deps") .removeAttribute("exports") .removeAttribute("exported_plugins") - .removeAttribute("data") .build(); } |