Is there a way around settings.gradle?


(sirinath1978m) #1

Will the following work instead of using the settings file as per section 6.3.3. Dependencies between projects.

dependencies {
 compile project('../ApacheParent')
    testCompile project('../TestingFrameworkParent')
}

(Peter Niederwieser) #2

settings.gradle is mandatory for a multi-project build. You can, however, script settings.gradle in any way you like. For example, you could make it detect subprojects automatically based on their build.gradle files.