Rename genrule for combined proguard in maven.bzl
This avoids naming conflict with the output file: "WARNING: /tmpfs/src/dagger-opensource/java/dagger/hilt/android/BUILD:122:19: target 'artifact-proguard.txt' is both a rule and a file; please choose another name for the rule"
RELNOTES=N/A
PiperOrigin-RevId: 346572106
diff --git a/tools/maven.bzl b/tools/maven.bzl
index c79001d..2c648a2 100644
--- a/tools/maven.bzl
+++ b/tools/maven.bzl
@@ -188,7 +188,7 @@
if proguard_specs:
# Concatenate all proguard rules since an aar only contains a single proguard.txt
native.genrule(
- name = name + "-proguard.txt",
+ name = name + "-proguard",
srcs = proguard_specs,
outs = [name + "-proguard.txt"],
cmd = "cat $(SRCS) > $@",
@@ -337,7 +337,7 @@
"""A very, very simple Android Library (aar) packaging rule.
This rule only support packaging simple android libraries. No resources
- support, assets, extra libs, jni, nor proguard. This rule is needed because
+ support, assets, extra libs, nor jni. This rule is needed because
there is no 'JarJar equivalent' for AARs and some of our artifacts are
composed of sources spread across multiple android_library targets.