I’m trying to move an existing Java project to gradle. It follows the usual source set conventions for main, test and two additional source sets, except that all source directories are in an additional subdirectory within the project. To visualize, it looks like
client
± src
± main
|
± java
|
± resources
± test
|
± java
|
± resources
Is there a way to specify a base directory for all source sets, including the implicit ones, without reconfiguring the srcdir for each source set individually?
Thanks Rainer