From 8cd9a4d5f61486b9ffee20eaeaaa4ddd3b7fb555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Mon, 23 Oct 2023 23:35:03 +0100 Subject: [PATCH] prevent ktlint from being updated (#1538) --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0f88071d6..87371c644 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -55,7 +55,7 @@ tasks.register("ktlintCheck") { } fun isNonStable(candidate: ModuleComponentIdentifier): Boolean { - return listOf("alpha", "beta", "rc", "snapshot", "-m").any { keyword -> + return listOf("alpha", "beta", "rc", "snapshot", "-m", "final").any { keyword -> keyword in candidate.version.lowercase() } }