Skip to content

Commit 5f9a660

Browse files
committed
Update Gradle wrapper to 7.0 (#1641)
- Replace deprecated jcenter usage to gradlePluginPortal
1 parent c1a4c48 commit 5f9a660

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

buildSrc/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ props.put("elasticsearch", esVersion)
5353
props.put("build-tools", buildToolsVersion)
5454

5555
repositories {
56-
jcenter()
56+
gradlePluginPortal()
5757
mavenCentral()
58-
5958
// For Elasticsearch snapshots.
6059
if (localRepo) {
6160
// For some reason the root dirs all point to the buildSrc folder. The local Repo will be one above that.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

qa/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ subprojects {
3333
buildscript {
3434
boolean localRepo = project.getProperties().containsKey("localRepo")
3535
repositories {
36-
jcenter()
36+
gradlePluginPortal()
3737
mavenCentral()
3838
if (localRepo) {
3939
// For some reason the root dirs all point to the buildSrc folder. The local Repo will be one above that.

0 commit comments

Comments
 (0)