From fe4d4aeff05e02fb4b36bdd631b27a0a838fe978 Mon Sep 17 00:00:00 2001 From: Mosab A <47486787+mosabab@users.noreply.github.com> Date: Sat, 27 Mar 2021 16:35:27 +0300 Subject: [PATCH] feat: upgrade gradle@6.8.3 (#1174) * Gradle Update to 6.8.3 * Update build.gradle * Update wrapper.gradle * Update wrapper.gradle --- bin/templates/cordova/lib/builders/ProjectBuilder.js | 2 +- bin/templates/project/app/build.gradle | 2 +- test/android/wrapper.gradle | 2 +- test/androidx/wrapper.gradle | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/templates/cordova/lib/builders/ProjectBuilder.js b/bin/templates/cordova/lib/builders/ProjectBuilder.js index e92a18f5..f4be4aeb 100644 --- a/bin/templates/cordova/lib/builders/ProjectBuilder.js +++ b/bin/templates/cordova/lib/builders/ProjectBuilder.js @@ -268,7 +268,7 @@ class ProjectBuilder { // update/set the distributionUrl in the gradle-wrapper.properties const gradleWrapperPropertiesPath = path.join(self.root, 'gradle/wrapper/gradle-wrapper.properties'); const gradleWrapperProperties = createEditor(gradleWrapperPropertiesPath); - const distributionUrl = process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL || 'https://services.gradle.org/distributions/gradle-6.6.1-all.zip'; + const distributionUrl = process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL || 'https://services.gradle.org/distributions/gradle-6.8.3-all.zip'; gradleWrapperProperties.set('distributionUrl', distributionUrl); gradleWrapperProperties.save(); diff --git a/bin/templates/project/app/build.gradle b/bin/templates/project/app/build.gradle index 2bca6482..21424ea8 100644 --- a/bin/templates/project/app/build.gradle +++ b/bin/templates/project/app/build.gradle @@ -89,7 +89,7 @@ allprojects { } task wrapper(type: Wrapper) { - gradleVersion = '6.6.1' + gradleVersion = '6.8.3' } // Configuration properties. Set these via environment variables, build-extras.gradle, or gradle.properties. diff --git a/test/android/wrapper.gradle b/test/android/wrapper.gradle index bd50de8f..80394fa7 100644 --- a/test/android/wrapper.gradle +++ b/test/android/wrapper.gradle @@ -17,5 +17,5 @@ */ wrapper { - gradleVersion = '6.6.1' + gradleVersion = '6.8.3' } diff --git a/test/androidx/wrapper.gradle b/test/androidx/wrapper.gradle index bd50de8f..80394fa7 100644 --- a/test/androidx/wrapper.gradle +++ b/test/androidx/wrapper.gradle @@ -17,5 +17,5 @@ */ wrapper { - gradleVersion = '6.6.1' + gradleVersion = '6.8.3' }