Use Gradle to deal with missing build.gradle files.

This commit is contained in:
player-03
2016-06-05 01:23:13 -04:00
committed by Joshua Granick
parent 17eeceae48
commit f7fcad06c1
2 changed files with 4 additions and 6 deletions

View File

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