Czar
09/02/2019, 9:30 AMjava.util.*
import. I even explicitely checked that I have this in my detekt.yml
style:
WildcardImport:
active: true
excludes: "**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
excludeImports: 'java.util.*,kotlinx.android.synthetic.*'
I know this is default, but since it was failing I also added it to my own config.
This is relevant part of `build.gradle.kts`:
subprojects {
project.detekt {
config = files("${rootProject.projectDir}/detekt.yml")
buildUponDefaultConfig = true
}
}
The only way to circumvent this problem I've found is to disable the check completely:
formatting:
NoWildcardImports:
active: false
which I don't want to do.