From 3a66aeb6a46cf308123e01d7bce61b5ddaa0b7c0 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 10 Nov 2015 07:54:19 -0800 Subject: [PATCH] Build: Remove repositories section now that it is included by build-tools With elastic/elasticsearchelastic/elasticsearch#14645, repositories, including the lucene snapshot repo, are now handled by the build plugin itself. This change removes this from xplugins. Original commit: elastic/x-pack-elasticsearch@8e0c7ef8947b859329d2826ffa28d1d434813ff3 --- build.gradle | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index 5805ea21882..04c5da67800 100644 --- a/build.gradle +++ b/build.gradle @@ -1,29 +1,11 @@ -import org.elasticsearch.gradle.ElasticsearchProperties - allprojects { apply plugin: 'idea' apply plugin: 'eclipse' } subprojects { - project.group = 'org.elasticsearch' - project.version = ElasticsearchProperties.version - project.ext.luceneVersion = ElasticsearchProperties.luceneVersion - repositories { - mavenCentral() - maven { - name 'sonatype-snapshots' - url 'http://oss.sonatype.org/content/repositories/snapshots/' - } - if (luceneVersion.contains('-snapshot')) { - String revision = (luceneVersion =~ /\d\.\d\.\d-snapshot-(\d+)/)[0][1] - maven { - name 'lucene-snapshots' - url "http://s3.amazonaws.com/download.elasticsearch.org/lucenesnapshots/${revision}" - } - } - } - + group = 'org.elasticsearch' + version = org.elasticsearch.gradle.VersionProperties.elasticsearch } if (hasProperty('projectsPrefix') == false) {