d29b7c4e57
Should be better at incremental builds. To format, run `./gradlew ktlintFormat`.
14 lines
320 B
Text
14 lines
320 B
Text
import org.jlleitschuh.gradle.ktlint.KtlintExtension
|
|
import org.jlleitschuh.gradle.ktlint.KtlintPlugin
|
|
|
|
apply<KtlintPlugin>()
|
|
|
|
extensions.configure<KtlintExtension>("ktlint") {
|
|
version.set("0.50.0")
|
|
android.set(true)
|
|
enableExperimentalRules.set(true)
|
|
|
|
filter {
|
|
exclude("**/generated/**")
|
|
}
|
|
}
|