mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
feat: upgrade gradle@6.8.3 (#1174)
* Gradle Update to 6.8.3 * Update build.gradle * Update wrapper.gradle * Update wrapper.gradle
This commit is contained in:
parent
23a1710557
commit
fe4d4aeff0
@ -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();
|
||||
|
||||
|
@ -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.
|
||||
|
@ -17,5 +17,5 @@
|
||||
*/
|
||||
|
||||
wrapper {
|
||||
gradleVersion = '6.6.1'
|
||||
gradleVersion = '6.8.3'
|
||||
}
|
||||
|
@ -17,5 +17,5 @@
|
||||
*/
|
||||
|
||||
wrapper {
|
||||
gradleVersion = '6.6.1'
|
||||
gradleVersion = '6.8.3'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user