diff --git a/rules/android/android_binary.bzl b/rules/android/android_binary.bzl index e56bde38..a6acb1ec 100644 --- a/rules/android/android_binary.bzl +++ b/rules/android/android_binary.bzl @@ -80,7 +80,7 @@ def android_binary( resources = [file for file in resource_files if file.endswith(".xml")], manifest = attrs.get("manifest"), baseline = lint_baseline, - lint_config = lint_options.get("lint_config", None), + lint_config = lint_options.get("config", None), ) # Build deps diff --git a/rules/android/android_library.bzl b/rules/android/android_library.bzl index 6f6ba271..a75a9f48 100644 --- a/rules/android/android_library.bzl +++ b/rules/android/android_library.bzl @@ -64,7 +64,7 @@ def android_library( resources = [file for file in resource_files if file.endswith(".xml")], manifest = attrs.get("manifest"), baseline = lint_baseline, - lint_config = lint_options.get("lint_config", None), + lint_config = lint_options.get("config", None), ) android_library_deps = android_library_deps + [lint_sources_target] lint( diff --git a/rules/kotlin/kotlin.bzl b/rules/kotlin/kotlin.bzl index cc37daff..96a43e02 100644 --- a/rules/kotlin/kotlin.bzl +++ b/rules/kotlin/kotlin.bzl @@ -23,7 +23,7 @@ def kt_jvm_library_interal( name = lint_sources_target, srcs = attrs.get("srcs"), baseline = lint_baseline, - lint_config = lint_options.get("lint_config", None), + lint_config = lint_options.get("config", None), ) lint(