Using IntelliJ 2016.2.
Using Gradle 2.14.1
I have 2 projects, each with their own build.gradle files and separate directory structures:
myLib (me
Finally Gradle 3.1 has sorted out this issue. Composite builds are now supported natively. More here. In short add this line to sandbox settings.gradle file-
includeBuild '/myLib'
If you can't upgrade Gradle, then the only hope for you is to publish mylib artifact to local maven repo and add mavenLocal() to sandbox/build.gradle.