Jast Lai
12/30/2021, 8:58 PMEl Zhang
12/31/2021, 2:52 AMfileTree.forEach { File("...").exists() }
which is not a time consuming job.
I also tried passing an empty set to “debug” source set, logs were printed still (looks like there is a fallback-value mechanism). So take it easy and just ignore them.
sourceSets["debug"].java.setSrcDirs(setOf<String>())
sourceSets["debug"].kotlin.setSrcDirs(setOf<String>())