2015-10-29 14:44:48 -04:00
|
|
|
apply plugin: 'groovy'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name 'sonatype-snapshots'
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots/'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'org.elasticsearch.gradle:project-attachment-plugin:1.0.0-SNAPSHOT'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
apply plugin: 'elasticsearch.project-attachment'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
name 'sonatype-snapshots'
|
|
|
|
url "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
2015-11-04 13:58:27 -05:00
|
|
|
jcenter()
|
2015-10-29 14:44:48 -04:00
|
|
|
}
|
|
|
|
|
2015-11-06 14:00:27 -05:00
|
|
|
dependencies {
|
|
|
|
runtime 'org.elasticsearch.gradle:project-attachment-plugin:1.0.0-SNAPSHOT'
|
|
|
|
runtime 'org.elasticsearch.gradle:build-tools:3.0.0-SNAPSHOT'
|
|
|
|
}
|
|
|
|
|
|
|
|
if ('elasticsearch' in attachments) {
|
|
|
|
configurations {
|
|
|
|
all {
|
|
|
|
resolutionStrategy {
|
|
|
|
dependencySubstitution {
|
|
|
|
substitute module('org.elasticsearch.gradle:build-tools') with project(':elasticsearch')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-29 14:44:48 -04:00
|
|
|
}
|
|
|
|
|