I noticed that detekt does not checks files in the...
# detekt
i
I noticed that detekt does not checks files in the
test
folder (Android). How cna I enable this?
b
How do you run detekt?
s
i
I just run
./gradlew detekt
… It looks like I need a new
detektAll
task that includes Gradle build files and tests
OK, solved by adding these fils to the config. Thx
Copy code
detekt {
        config = files("$rootDir/detekt.yml")

        parallel = true


        input = files(
            "$rootDir/buildSrc",
            "$rootDir/build.gradle.kts",
            "$rootDir/settings.gradle.kts",
            "src/main/kotlin",
            "src/test/kotlin"
        )
    }