aboutsummaryrefslogtreecommitdiff
path: root/spotless.gradle
blob: 72104ac037e4f938c3a1728f4ffaad3522e4fdeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
apply plugin: "com.diffplug.spotless"

spotless {
    kotlin {
        target "**/*.kt"
        // https://github.com/pinterest/ktlint/releases
        ktlint("0.41.0").userData(["disabled_rules": "no-wildcard-imports"])
        licenseHeaderFile '../spotless.license.kt'
        trimTrailingWhitespace()
        endWithNewline()
    }
}