A build can only have a single settings.gradle
file. Assuming settings.gradle
is in the root directory and includes projects like so:
include "P1:PP1"
You can add a compile dependency like so:
dependencies {
compile(project(":P1:PP1"))
}
For more information, see the "Multi-Project Builds" chapter in the Gradle User Guide.