From 2f0f8abd13620af71b79697f3c39863250195e69 Mon Sep 17 00:00:00 2001 From: Chris Gray Date: Mon, 17 Jul 2023 14:43:26 -0700 Subject: [PATCH 1/2] Fix the default config in `spotbugs_test` --- java/private/spotbugs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/private/spotbugs.bzl b/java/private/spotbugs.bzl index 8ec94597..eb7cad40 100644 --- a/java/private/spotbugs.bzl +++ b/java/private/spotbugs.bzl @@ -83,7 +83,7 @@ spotbugs_test = rule( allow_files = False, ), "config": attr.label( - default = "//java:spotbugs-default-config", + default = "@contrib_rules_jvm//java:spotbugs-default-config", providers = [ SpotBugsInfo, ], From 4d0d393c549b897326be7e93ce586b4ce8c55d73 Mon Sep 17 00:00:00 2001 From: Chris Gray Date: Mon, 17 Jul 2023 14:52:06 -0700 Subject: [PATCH 2/2] Fix the README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 93126a6c..90199107 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,7 @@ Use spotbugs to lint the `srcs`. | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | -| config | - | Label | optional | //java:spotbugs-default-config | +| config | - | Label | optional | @contrib_rules_jvm//java:spotbugs-default-config | | deps | - | List of labels | required | | | only_output_jars | If set to true, only the output jar of the target will be analyzed. Otherwise all transitive runtime dependencies will be analyzed | Boolean | optional | True |