fixing ci errors

This commit is contained in:
Mariotaku Lee 2015-11-25 21:21:12 +08:00
parent 462f940815
commit b121003777
1 changed files with 7 additions and 6 deletions

View File

@ -53,12 +53,13 @@ subprojects {
exclude 'META-INF/ASL2.0'
}
// if (android.hasProperty('buildTypes') && project.plugins.hasPlugin('com.android.application')) {
// android.buildTypes.each { buildType ->
// setSigningConfig(signingConfigs.maybeCreate(buildType.name))
// loadSigningConfig(signingConfig, rootProject.file('signing.properties'))
// }
// }
if (android.hasProperty('buildTypes') && project.plugins.hasPlugin('com.android.application')) {
android.buildTypes.each { buildType ->
def cfg = signingConfigs.maybeCreate(buildType.name)
loadSigningConfig(cfg, rootProject.file('signing.properties'))
buildType.signingConfig = cfg
}
}
}
}