Skip to content

Commit

Permalink
quick fix for minSdkVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher J. Brody committed Feb 8, 2019
1 parent 0ba8aa3 commit eb06848
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/templates/project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ 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 ? defaultMinSdkVersion : Integer.parseInt('' + cdvMinSdkVersion)
ext.cdvMinSdkVersion = cdvMinSdkVersion == null ? (
hasProperty('minSdkVersion') ? minSdkVersion : defaultMinSdkVersion ) : Integer.parseInt('' + cdvMinSdkVersion)
ext.cdvVersionCode = cdvVersionCode == null ? null : Integer.parseInt('' + cdvVersionCode)

def computeBuildTargetName(debugBuild) {
Expand Down

0 comments on commit eb06848

Please sign in to comment.