Is there a way around settings.gradle?

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')
}

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.