I have multi-project with 3 subprojects. I have them defined as the following:
/build.gradle
allprojects {
apply plugin: 'base'
configurations {
compile
}
}
/project-a/build.gradle
dependencies {
compile project(':project-b')
}
/project-b/build.gradle
dependencies {
compile project(':project-c')
}
When I execute the gradle :project-a:dependencies, it only shows project-b as a dependency. I would expect to see project-b AND project-c under project-b.
compile
\--- project :project-b
But if I switch it from apply base plugin to apply java plugin, it does print out project-c
compile - Dependencies for source set 'main' (deprecated, use 'implementation ' instead).
\--- project :project-b
\--- project :project-c
How do I have the same behavior with a base plugin?