I am trying to configure gradle for a multiproject environment.
My project structure is as follows:
MainProject
--external
--A
--B
--C
I have been able to configure the build.gradle and the settings.gradle file for the MainProject.
The problem that I have is that both subprojects A & B depend on C
In project A 's build.gradle
apply plugin: 'android-library'
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile project('../C')
}
Gradle says unable to find project with path ../C. What path should I put in there?