I\'m developing a multi-module project with gradle/intellij-idea, and here is the structure of my project home:
project/ sub-project-1 /main/resources
Ok, I figured it out. It's actually pretty simple. Just treat the "data" folder as another project and add dependency declarations to sub projects will do the trick. For example:
dependencies { compile project (':data') testCompile project (':data') }