fixing ci errors

This commit is contained in:
Mariotaku Lee 2015-11-25 21:42:34 +08:00
parent 8abc3304d4
commit abdb3552d0
1 changed files with 6 additions and 3 deletions

View File

@ -55,9 +55,12 @@ subprojects {
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
File file = rootProject.file('signing.properties')
if (file.exists()) {
DefaultSigningConfig cfg = signingConfigs.maybeCreate(buildType.name)
loadSigningConfig(cfg, file)
buildType.signingConfig = cfg
}
}
}
}