add reference to resource_strip_prefix in resources documentation

PiperOrigin-RevId: 436849752
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 88cf7d0..a4b4faa 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
@@ -197,7 +197,9 @@
             (a "src" directory followed by a "resources" directory grandchild). If that is not
             found, Bazel then looks for the topmost directory named "java" or "javatests" (so, for
             example, if a resource is at <code>&lt;workspace root&gt;/x/java/y/java/z</code>, the
-            path of the resource will be <code>y/java/z</code>. This heuristic cannot be overridden.
+            path of the resource will be <code>y/java/z</code>. This heuristic cannot be overridden,
+            however, the <code>resource_strip_prefix</code> attribute can be used to specify a
+            specific alternative directory for resource files.
           </p>
 
           <p>