From 7de4803e21f852d8fd479ad58bc7cae2e314689c Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 26 Sep 2016 15:04:41 -0700 Subject: [PATCH] CB-11907: Bumping Gradle to work with Android Studio 2.2 and the Android Gradle Plugin --- bin/templates/cordova/lib/builders/GradleBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/builders/GradleBuilder.js b/bin/templates/cordova/lib/builders/GradleBuilder.js index 46b890e8..8fb5c6b3 100644 --- a/bin/templates/cordova/lib/builders/GradleBuilder.js +++ b/bin/templates/cordova/lib/builders/GradleBuilder.js @@ -163,7 +163,7 @@ GradleBuilder.prototype.prepEnv = function(opts) { // For some reason, using ^ and $ don't work. This does the job, though. var distributionUrlRegex = /distributionUrl.*zip/; /*jshint -W069 */ - var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'http\\://services.gradle.org/distributions/gradle-2.13-all.zip'; + var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'http\\://services.gradle.org/distributions/gradle-2.14.1-all.zip'; /*jshint +W069 */ var gradleWrapperPropertiesPath = path.join(self.root, 'gradle', 'wrapper', 'gradle-wrapper.properties'); shell.chmod('u+w', gradleWrapperPropertiesPath);