mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
CB-8548 Use debug-signing.properties and release-signing.properties when they exist
This commit is contained in:
parent
3950818030
commit
1b4f5b13f1
@ -110,6 +110,12 @@ if (ext.cdvCompileSdkVersion == null) {
|
|||||||
if (ext.cdvBuildToolsVersion == null) {
|
if (ext.cdvBuildToolsVersion == null) {
|
||||||
ext.cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools()
|
ext.cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools()
|
||||||
}
|
}
|
||||||
|
if (ext.cdvDebugSigningPropertiesFile == null && file('debug-signing.properties').exists()) {
|
||||||
|
ext.cdvDebugSigningPropertiesFile = 'debug-signing.properties'
|
||||||
|
}
|
||||||
|
if (ext.cdvReleaseSigningPropertiesFile == null && file('release-signing.properties').exists()) {
|
||||||
|
ext.cdvReleaseSigningPropertiesFile = 'release-signing.properties'
|
||||||
|
}
|
||||||
|
|
||||||
// Cast to appropriate types.
|
// Cast to appropriate types.
|
||||||
ext.cdvBuildMultipleApks = !!cdvBuildMultipleApks;
|
ext.cdvBuildMultipleApks = !!cdvBuildMultipleApks;
|
||||||
|
Loading…
Reference in New Issue
Block a user