I have added a gradle with custom sourceset/configuration. While IDEA recognized this new source folder when I imported the project, it still does not recognize the dependencies that were added and IntelliJ shows them as compilation errors.
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
And dependencies defined like
However I get an error when I build :
Error:(12, 35) java: package com.github.springtestdbunit does not exist
Works correctly in gradle when I do