When running with .updateYearWithLatest(false) on this PR, all the existing copyright headers are updated to 2020 anyway. Is there another configuration we're missing?
kotlin {
ktlint("0.38.0").userData(mapOf("indent_size" to "2"))
target("**/*.kt")
trimTrailingWhitespace()
endWithNewline()
licenseHeaderFile("spotless/spotless.kt")
.updateYearWithLatest(false)
targetExclude("**/Dependencies.kt", "**/spotless.kt")
}
Spotless version: 0.38.0
macOS 10.15.6
When running with
.updateYearWithLatest(false)on this PR, all the existing copyright headers are updated to 2020 anyway. Is there another configuration we're missing?kotlin { ktlint("0.38.0").userData(mapOf("indent_size" to "2")) target("**/*.kt") trimTrailingWhitespace() endWithNewline() licenseHeaderFile("spotless/spotless.kt") .updateYearWithLatest(false) targetExclude("**/Dependencies.kt", "**/spotless.kt") }Spotless version: 0.38.0
macOS 10.15.6