Auto respond:
Unchecking the gradle preference “create separate module per source set” makes it working.
g
guenther
07/20/2017, 5:13 AM
There is a good reason, why the modules are separated: It is the classpath. If you just have one module, than the test and source-classpath are shared, what is not what you want. That was a big issue in intellij until they came up with this module separation last year.
g
gaetan
07/20/2017, 9:59 AM
Ok, thanks for the information. But with it, I come back to my problem with the project not compiling in intellij.
g
guenther
07/20/2017, 11:51 AM
If i had to choose between a maybe wrong classpath and a not compiling project I would also go with your solution 🙂