mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 09:02:50 +08:00
This reverts commit fe4d4aeff0
.
This commit is contained in:
parent
1f5426f939
commit
31233089f1
@ -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.8.3-all.zip';
|
||||
const distributionUrl = process.env.CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL || 'https://services.gradle.org/distributions/gradle-6.6.1-all.zip';
|
||||
gradleWrapperProperties.set('distributionUrl', distributionUrl);
|
||||
gradleWrapperProperties.save();
|
||||
|
||||
|
@ -84,7 +84,7 @@ allprojects {
|
||||
}
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '6.8.3'
|
||||
gradleVersion = '6.6.1'
|
||||
}
|
||||
|
||||
// Configuration properties. Set these via environment variables, build-extras.gradle, or gradle.properties.
|
||||
|
@ -17,5 +17,5 @@
|
||||
*/
|
||||
|
||||
wrapper {
|
||||
gradleVersion = '6.8.3'
|
||||
gradleVersion = '6.6.1'
|
||||
}
|
||||
|
@ -17,5 +17,5 @@
|
||||
*/
|
||||
|
||||
wrapper {
|
||||
gradleVersion = '6.8.3'
|
||||
gradleVersion = '6.6.1'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user