build-logic: upgrade ktfmt

This commit is contained in:
Harsh Shandilya 2022-04-26 20:16:50 +05:30
parent ad048daca6
commit f424d387d0
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 4 additions and 4 deletions

View file

@ -32,9 +32,9 @@ afterEvaluate {
}
}
// disable kapt tasks for unit tests
tasks.matching { it.name.startsWith("kapt") && it.name.endsWith("UnitTestKotlin") }.configureEach {
enabled = false
}
tasks
.matching { it.name.startsWith("kapt") && it.name.endsWith("UnitTestKotlin") }
.configureEach { enabled = false }
fun Project.hasDaggerCompilerDependency(): Boolean {
return configurations.any {

View file

@ -5,7 +5,7 @@
plugins { id("com.diffplug.spotless") }
val KTFMT_VERSION = "0.35"
val KTFMT_VERSION = "0.36"
spotless {
kotlin {