Skip to content

Commit

Permalink
fixup! Use 'spotless' ktlin code linter and formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokosi committed Mar 16, 2020
1 parent 8e7d2fa commit 717f535
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,15 @@ dependencies {

application {
mainClassName = "pullpitok.AppKt"
}
}

spotless {
kotlin {
ktlint()
}
kotlinGradle {
// same as kotlin, but for .gradle.kts files (defaults to '*.gradle.kts')
target("*.gradle.kts")
ktlint()
}
}

0 comments on commit 717f535

Please sign in to comment.