2015-11-25 10:18:08 -05:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
|
|
|
|
dependencies {
|
2016-10-01 03:46:43 -04:00
|
|
|
compile project(':x-plugins:elasticsearch')
|
2015-11-25 10:18:08 -05:00
|
|
|
compile "org.elasticsearch:elasticsearch:${version}"
|
2015-12-18 00:26:38 -05:00
|
|
|
testCompile "org.elasticsearch.test:framework:${version}"
|
2015-11-25 10:18:08 -05:00
|
|
|
}
|
|
|
|
|
2016-07-28 01:38:18 -04:00
|
|
|
project.forbiddenPatterns {
|
|
|
|
exclude '**/*.key'
|
|
|
|
}
|
|
|
|
|
2015-11-25 10:18:08 -05:00
|
|
|
dependencyLicenses.enabled = false
|
2016-08-16 17:23:37 -04:00
|
|
|
|
|
|
|
task buildZip(type: Zip, dependsOn: jar) {
|
|
|
|
into('lib') {
|
|
|
|
from jar
|
|
|
|
from configurations.runtime
|
|
|
|
}
|
|
|
|
into('bin') {
|
|
|
|
from 'bin'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
assemble.dependsOn buildZip
|