dependencies {
compile project(\'client\')
compile project(\'-cache
\')
Now when I comment out compile project(\'product-cache-client
Add the java plugin on top of your parent build, for me this works:
apply plugin:'java'
It is recommended here - the second answer Could not find method compile() for arguments Gradle And also switch the 'dependencies' with 'repositories' - at least in the sample of build.gradle you wrote here they are switched.