I have a service project that I build and added the jar into my other projects libs folder.
I have added the jar gradle.build
flatDir { dirs 'libs' }
compile('com.proj:service-client:0.0.1-SNAPSHOT')
The jar added to class path and visible in Project and External dependencies folder
But still I cannot build the app and Eclipse also showing cannot be resolved to a type errors for the classes I have in external jar. Externel jar is build with gradle(gradlew build)