mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
Incorrect default sdk version issue fix (PR #495)
This commit is contained in:
parent
f86519b158
commit
00134cf9f3
@ -69,7 +69,7 @@ ext {
|
||||
if (!project.hasProperty('cdvBuildMultipleApks')) {
|
||||
cdvBuildMultipleApks = null
|
||||
}
|
||||
// Whether to append a 0 "abi digit" to versionCode when only a single APK is build
|
||||
// Whether to append a 0 "abi digit" to versionCode when only a single APK is build
|
||||
if (!project.hasProperty('cdvVersionCodeForceAbiDigit')) {
|
||||
cdvVersionCodeForceAbiDigit = null
|
||||
}
|
||||
@ -117,7 +117,7 @@ if (ext.cdvReleaseSigningPropertiesFile == null && file('../release-signing.prop
|
||||
// Cast to appropriate types.
|
||||
ext.cdvBuildMultipleApks = cdvBuildMultipleApks == null ? false : cdvBuildMultipleApks.toBoolean();
|
||||
ext.cdvVersionCodeForceAbiDigit = cdvVersionCodeForceAbiDigit == null ? false : cdvVersionCodeForceAbiDigit.toBoolean();
|
||||
ext.cdvMinSdkVersion = cdvMinSdkVersion == null ? null : defaultMinSdkVersion
|
||||
ext.cdvMinSdkVersion = cdvMinSdkVersion == null ? defaultMinSdkVersion : cdvMinSdkVersion
|
||||
ext.cdvVersionCode = cdvVersionCode == null ? null : Integer.parseInt('' + cdvVersionCode)
|
||||
|
||||
def computeBuildTargetName(debugBuild) {
|
||||
@ -175,7 +175,7 @@ android {
|
||||
buildToolsVersion cdvBuildToolsVersion
|
||||
|
||||
//This code exists for Crosswalk and other Native APIs.
|
||||
//By default, we multiply the existing version code in the Android Manifest by 10 and
|
||||
//By default, we multiply the existing version code in the Android Manifest by 10 and
|
||||
//add a number for each architecture. If you are not using Crosswalk or SQLite, you can
|
||||
//ignore this chunk of code, and your version codes will be respected.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user