``` checkstyle { toolVersion = "8.4" // ch...
# gradle
x
Copy code
checkstyle {
    toolVersion = "8.4"
    // checkstyleTest.isEnabled = false
    // sourceSets.addAll(java.sourceSets.filter { it.name != "test" })
}
how can I write this so that it works? it's currently checking my test directory, isEnabled won't compile, and the sourceSets still appears to have test in it