CB-11153 Move to gradle version 2.13

This closes #299
This commit is contained in:
Nikhil Khandelwal 2016-04-26 09:52:09 -07:00 committed by Joe Bowser
parent f3e0623d1d
commit 8b96081579
2 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,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.8-all.zip';
var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'http\\://services.gradle.org/distributions/gradle-2.13-all.zip';
/*jshint +W069 */
var gradleWrapperPropertiesPath = path.join(self.root, 'gradle', 'wrapper', 'gradle-wrapper.properties');
shell.chmod('u+w', gradleWrapperPropertiesPath);

View File

@ -41,7 +41,7 @@ repositories {
}
task wrapper(type: Wrapper) {
gradleVersion = '2.8'
gradleVersion = '2.13'
}
// Configuration properties. Set these via environment variables, build-extras.gradle, or gradle.properties.