Gradle SourceSet dependencies in IntelliJ
问题 I've got a Gradle project with an additional sourceSet - acceptance . This contains my acceptance tests, as opposed to just build-time unit and integration tests. I also have some helper classes in the standard test sourceSet that I'd like to share, but that don't belong in the main sourceSet. Currently this works fine in Gradle, but IntelliJ doesn't like it and I'm not sure why. My build.gradle looks like this: buildscript { ext { jackson_version = "2.9.0.pr4" // IntelliJ needs M4