Use Gradle to deal with missing build.gradle files.
This commit is contained in:
committed by
Joshua Granick
parent
17eeceae48
commit
f7fcad06c1
@@ -25,3 +25,7 @@ task clean(type: Delete) {
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '::ANDROID_GRADLE_VERSION::'
|
||||
}
|
||||
|
||||
configure(subprojects.findAll {!it.file('build.gradle').exists() && it.file('build.xml').exists()}) {
|
||||
ant.importBuild 'build.xml'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user