From 815dfdabb7df31d4e99b6fc7616ff8e2f9385d98 Mon Sep 17 00:00:00 2001 From: ilist Date: Wed, 9 Mar 2022 23:32:56 -0800 Subject: [PATCH] Update resource_jars attribute documentation. Addressing comment in https://github.com/bazelbuild/bazel/issues/13221#issuecomment-1063366617 PiperOrigin-RevId: 433668863 --- .../build/lib/bazel/rules/java/BazelJavaRuleClasses.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java index 1e3762103466ed..88cf7d00e70591 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java @@ -221,10 +221,7 @@ class on the runtime classpath or you specify the runtime_deps argu */ .add(attr("resource_strip_prefix", STRING)) /* - Set of archives containing Java resources. -

- If specified, the contents of these jars are merged into the output jar. -

+ Deprecated: Use java_import and deps or runtime_deps instead. */ .add( attr("resource_jars", LABEL_LIST)