Fix gradle sync if there is no signing config defined

This commit is contained in:
Pierrot 2019-01-05 15:17:21 +01:00
parent a1609096c5
commit 76f728fa64

View file

@ -29,6 +29,12 @@ if(project.hasProperty("signing.properties") && new File(project.property("signi
keyPassword props['sp.keyPassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
}
@ -58,7 +64,6 @@ android {
minifyEnabled true
proguardFiles 'proguard.cfg'
signingConfig signingConfigs.release
applicationVariants.all { variant ->
appendVersionNameVersionCode(variant, defaultConfig)