`licenseHeader` doesn't work when `kotlin` and `kotlinGradle` are both enabled
Open
bug
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 559
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 34
Description
If I use the config below, it works in Groovy Dsl project for kt fies
```groovy
spotless {
kotlin {
ktlint()
licenseHeaderFile(rootProject.file("gradle/HEADER.txt"))
}
}
```
But if I just copy-paste it into Kotlin Dsl project, license headers will not be added or replaced into kt files.
Contributor guide
Assessment
This issue has not been assessed yet.