mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
build: upgrade ktfmt
This commit is contained in:
parent
4e261af246
commit
4a19b4911d
2 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
plugins { id("com.diffplug.spotless") }
|
plugins { id("com.diffplug.spotless") }
|
||||||
|
|
||||||
val KTFMT_VERSION = "0.36"
|
val KTFMT_VERSION = "0.37"
|
||||||
|
|
||||||
spotless {
|
spotless {
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|
|
@ -22,7 +22,8 @@ fun isNonStable(version: String): Boolean {
|
||||||
tasks.withType<DependencyUpdatesTask>().configureEach {
|
tasks.withType<DependencyUpdatesTask>().configureEach {
|
||||||
rejectVersionIf {
|
rejectVersionIf {
|
||||||
when (candidate.group) {
|
when (candidate.group) {
|
||||||
"com.android.application", "com.android.library" -> true
|
"com.android.application",
|
||||||
|
"com.android.library" -> true
|
||||||
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
|
else -> isNonStable(candidate.version) && !isNonStable(currentVersion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue