From 2fc86e2833637daa6e842e5d8eb7c88c4f50d784 Mon Sep 17 00:00:00 2001 From: Malte Legenhausen Date: Fri, 17 Jul 2015 15:51:10 +0200 Subject: [PATCH] CB-9391 Fixes cdvBuildMultipleApks option casting This closes #199 --- bin/templates/project/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle index e40af305..289b7afa 100644 --- a/bin/templates/project/build.gradle +++ b/bin/templates/project/build.gradle @@ -118,7 +118,7 @@ if (ext.cdvReleaseSigningPropertiesFile == null && file('release-signing.propert } // Cast to appropriate types. -ext.cdvBuildMultipleApks = !!cdvBuildMultipleApks; +ext.cdvBuildMultipleApks = cdvBuildMultipleApks == null ? false : cdvBuildMultipleApks.toBoolean(); ext.cdvMinSdkVersion = cdvMinSdkVersion == null ? null : Integer.parseInt('' + cdvMinSdkVersion) ext.cdvVersionCode = cdvVersionCode == null ? null : Integer.parseInt('' + cdvVersionCode)