cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject android commit: CB-9391 Fixes cdvBuildMultipleApks option casting
Date Mon, 20 Jul 2015 12:58:09 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master fab472859 -> 2fc86e283


CB-9391 Fixes cdvBuildMultipleApks option casting

This closes #199


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/2fc86e28
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/2fc86e28
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/2fc86e28

Branch: refs/heads/master
Commit: 2fc86e2833637daa6e842e5d8eb7c88c4f50d784
Parents: fab4728
Author: Malte Legenhausen <mlegenhausen@gmail.com>
Authored: Fri Jul 17 15:51:10 2015 +0200
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Mon Jul 20 15:59:27 2015 +0300

----------------------------------------------------------------------
 bin/templates/project/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/2fc86e28/bin/templates/project/build.gradle
----------------------------------------------------------------------
diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle
index e40af30..289b7af 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)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message