Our source tree is … interesting. In order to compile anything, I need to pass around 80 distinct directories to javac’s -sourcepath option. (In a nutshell, everything depends on everything.) But if I set those as srcDir properties of my Java sourceSet with Gradle, it tries to compile everything. I don’t want that – yet. I just want to pass the 80 directories as sourcepath dirs.
Haven’t seen anything about sourcepath in the manual and Google didn’t help. Any tips?