From ce9120ba22aaf32f0f466aa72451d49fec88a643 Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Wed, 11 Dec 2024 15:37:59 -0500 Subject: [PATCH] Enable the AndroidX Lint plugin --- build-scripts/component-common.gradle | 2 ++ taskcluster/kinds/lint/kind.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/build-scripts/component-common.gradle b/build-scripts/component-common.gradle index 5b4a2b20d7..b4d1d8dd31 100644 --- a/build-scripts/component-common.gradle +++ b/build-scripts/component-common.gradle @@ -43,6 +43,8 @@ kotlin { } dependencies { + lintChecks "androidx.lint:lint-gradle:1.0.0-alpha03" + testImplementation libs.junit testImplementation libs.mockito testImplementation libs.robolectric diff --git a/taskcluster/kinds/lint/kind.yml b/taskcluster/kinds/lint/kind.yml index 0ab7765c70..35074dec7c 100644 --- a/taskcluster/kinds/lint/kind.yml +++ b/taskcluster/kinds/lint/kind.yml @@ -27,3 +27,7 @@ tasks: description: "Running ktlint over all modules" run: gradlew: [ktlint] + lint: + description: "Running ktlint over all modules" + run: + gradlew: [lint]