From c51e7784770a8d0d50b79459abb7b72dcf105a97 Mon Sep 17 00:00:00 2001 From: "mohammad.khaleghi" Date: Tue, 12 Mar 2024 16:41:52 +0800 Subject: [PATCH] update config tag --- rules/android/android_binary.bzl | 2 +- rules/android/android_library.bzl | 2 +- rules/kotlin/kotlin.bzl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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(