From a22ce1a077ebd4c4883664b1cc2f601ba36263f0 Mon Sep 17 00:00:00 2001 From: Mani <12841290+infinyte7@users.noreply.github.com> Date: Thu, 11 Feb 2021 00:04:39 +0800 Subject: [PATCH] update --- app/gradle/wrapper/gradle-wrapper.properties | 2 +- cordova/lib/builders/ProjectBuilder.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gradle/wrapper/gradle-wrapper.properties b/app/gradle/wrapper/gradle-wrapper.properties index 26649c1..3eb1008 100644 --- a/app/gradle/wrapper/gradle-wrapper.properties +++ b/app/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=70239e6ca1f0d5e3b2808ef6d82390cf9ad58d3a3a0d271677a51d1b89475857 +distributionSha256Sum=23e7d37e9bb4f8dabb8a3ea7fdee9dd0428b9b1a71d298aefd65b11dccea220f distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/cordova/lib/builders/ProjectBuilder.js b/cordova/lib/builders/ProjectBuilder.js index fdf35be..026d3ad 100644 --- a/cordova/lib/builders/ProjectBuilder.js +++ b/cordova/lib/builders/ProjectBuilder.js @@ -303,7 +303,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.5-all.zip'; + const distributionUrl = process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL || 'https://services.gradle.org/distributions/gradle-6.5-bin.zip'; gradleWrapperProperties.set('distributionUrl', distributionUrl); gradleWrapperProperties.save();