Skip to content

Commit

Permalink
chore: configure ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Phillip Kretzschmar committed Feb 16, 2024
1 parent 04ed588 commit fc1cffe
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ tasks.withType<Test> {
}
}

configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
version.set("1.1.1")
debug.set(false)
verbose.set(false)
android.set(true)
outputToConsole.set(true)
outputColorName.set("RED")
ignoreFailures.set(false)
baseline.set(file("ktlint-baseline.xml"))
filter {
exclude {
projectDir.toURI().relativize(it.file.toURI()).path.startsWith("build/")
}
}
}

dependencies {
implementation(gradleApi())

Expand Down

0 comments on commit fc1cffe

Please sign in to comment.