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

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