mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Merge pull request elastic/elasticsearch#959 from rjernst/version_cleanup
Remove repositories section now that it is included by build-tools Original commit: elastic/x-pack-elasticsearch@213a117290
This commit is contained in:
commit
838cb54b9e
22
build.gradle
22
build.gradle
@ -1,29 +1,11 @@
|
|||||||
import org.elasticsearch.gradle.ElasticsearchProperties
|
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
project.group = 'org.elasticsearch'
|
group = 'org.elasticsearch'
|
||||||
project.version = ElasticsearchProperties.version
|
version = org.elasticsearch.gradle.VersionProperties.elasticsearch
|
||||||
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}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasProperty('projectsPrefix') == false) {
|
if (hasProperty('projectsPrefix') == false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user