Merge pull request #10807 from t895/ktlint-fixes

android: Ktlint fixes
This commit is contained in:
bunnei 2023-06-16 16:47:14 -07:00 committed by GitHub
commit 975122f4bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,13 +163,14 @@ android {
tasks.getByPath("preBuild").dependsOn("ktlintCheck") tasks.getByPath("preBuild").dependsOn("ktlintCheck")
ktlint { ktlint {
version.set("0.47.0") version.set("0.47.1")
android.set(true) android.set(true)
ignoreFailures.set(false) ignoreFailures.set(false)
disabledRules.set( disabledRules.set(
setOf( setOf(
"no-wildcard-imports", "no-wildcard-imports",
"package-name" "package-name",
"import-ordering"
) )
) )
reporters { reporters {