Skip to content

Commit

Permalink
prevent ktlint from being updated (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatfiredev authored Oct 23, 2023
1 parent 1b04836 commit 8cd9a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tasks.register<JavaExec>("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()
}
}
Expand Down

0 comments on commit 8cd9a4d

Please sign in to comment.