How do I get IntelliJ to resolve Gradle dependencies for custom source sets?
When IntelliJ opens a build.gradle file it will generate an IntelliJ project with the Gradle dependencies resolved and added to the project scope. This works great for the "compile" source set and the "test" source set, however I can not get this to work for custom source sets. I want to have IntelliJ resolve the dependencies for my componentTest source set. How do I tell IntelliJ to resolve these dependencies and add them to scope? dependencies { // main source set, "compile" scope in IntelliJ compile(group: 'com.google.guava', name: 'guava', version: '18.0') // test source set, "test" scope