File tree Expand file tree Collapse file tree 8 files changed +11
-8
lines changed
main/groovy/org/elasticsearch/gradle Expand file tree Collapse file tree 8 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,10 @@ jar {
109
109
*****************************************************************************/
110
110
111
111
repositories {
112
- jcenter()
112
+ mavenCentral()
113
+ maven {
114
+ url " https://plugins.gradle.org/m2/"
115
+ }
113
116
}
114
117
115
118
dependencies {
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ class BuildPlugin implements Plugin<Project> {
605
605
name " elastic"
606
606
url " https://artifacts-no-kpi.elastic.co/maven"
607
607
}
608
- repos. jcenter ()
608
+ repos. mavenCentral ()
609
609
String luceneVersion = VersionProperties . lucene
610
610
if (luceneVersion. contains(' -snapshot' )) {
611
611
// extract the revision number from the version with a regex matcher
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ class VagrantTestPlugin implements Plugin<Project> {
158
158
private static void configurePackagingArchiveRepositories (Project project ) {
159
159
RepositoryHandler repos = project. repositories
160
160
161
- repos. jcenter () // will have releases before 5.0.0
161
+ repos. mavenCentral () // will have releases before 5.0.0
162
162
163
163
/* Setup a repository that tries to download from
164
164
https://artifacts.elastic.co/downloads/elasticsearch/[module]-[revision].[ext]
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies {
13
13
}
14
14
15
15
repositories {
16
- jcenter ()
16
+ mavenCentral ()
17
17
repositories {
18
18
maven {
19
19
name " local-repo"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ ext.licenseFile = file("$buildDir/dummy/license")
12
12
ext. noticeFile = file(" $buildDir /dummy/notice" )
13
13
14
14
repositories {
15
- jcenter ()
15
+ mavenCentral ()
16
16
repositories {
17
17
maven {
18
18
name " local"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ allprojects { all ->
16
16
url " https://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/" + luceneSnapshotRevision
17
17
}
18
18
}
19
- jcenter ()
19
+ mavenCentral ()
20
20
}
21
21
22
22
if (project == rootProject || project. name == " alpha" || project. name == " bravo" ) {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ allprojects {
7
7
apply plugin : ' elasticsearch.build'
8
8
9
9
repositories {
10
- jcenter ()
10
+ mavenCentral ()
11
11
}
12
12
dependencies {
13
13
testCompile " junit:junit:4.12"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ repositories {
17
17
name = " local-test"
18
18
url = file(" sample_jars/build/testrepo" )
19
19
}
20
- jcenter ()
20
+ mavenCentral ()
21
21
}
22
22
23
23
configurations. create(" forbiddenApisCliJar" )
You can’t perform that action at this time.
0 commit comments