``` checkstyle { toolVersion = "8.4" sourc...
# gradle
x
Copy code
checkstyle {
    toolVersion = "8.4"
    sourceSets.forEach( { println(it) })
    sourceSets.removeIf( { it.name == "test" })
}
g
sourceSets returned from getSourceSets is not mutable, it’s just a copy
Hmm, looks this is not true for checkstyle. probably I saw this for some another plugin