I have three eclipse projects (Project A, Project B, and Project C) in my workspace. Project B and C depend on Project A.
In my build.gradle file, I've set up the dependencies in B and C to refer to A:
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile('com.example:projectA:1.0')
}
However, when I right click and select Gradle->Refresh Gradle Project on Project B or C, it states that it is unable to resolve the projectA dependency.
I'm using Mars 4.5.2 and Buildship version 1.0.20. I understand that Buildship 2.0 once released will provide support such that it can refer to other eclipse projects as dependencies. In the interim though, how do I install project A into the repo and refer to it in project B and C? I do not see an install option for project A in the Buildship Gradle Tasks.
./gradlew projectB:build- JoltaCould not find com.example:projectA:1.0. Searched in the following locations:The locations include the local repo. When I navigate the local repo file system, I also cannot find the path to projectA, so my issue appears to be the inability to install project A in the local repo. But I'm not sure how to install project A using Buildship. - James