mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
* Build: Convert xplugins to use new extra projects setup This change makes the gradle initialization for xplugins look in the correct location for elasticsearch, which is now as a sibling of an elasticsearch-extra directory, with x-plugins as a child of the extra directory. The elasticsearch side of this change is elastic/elasticsearchelastic/elasticsearch#21773. This change will enable renaming x-plugins to x-pack, see elastic/elasticsearch#3643. Original commit: elastic/x-pack-elasticsearch@09398aea5a
27 lines
550 B
Groovy
27 lines
550 B
Groovy
apply plugin: 'elasticsearch.build'
|
|
|
|
dependencies {
|
|
compile project(':x-pack:elasticsearch')
|
|
compile "org.elasticsearch:elasticsearch:${version}"
|
|
testCompile "org.elasticsearch.test:framework:${version}"
|
|
}
|
|
|
|
project.forbiddenPatterns {
|
|
exclude '**/*.key'
|
|
}
|
|
|
|
dependencyLicenses.enabled = false
|
|
|
|
task buildZip(type: Zip, dependsOn: jar) {
|
|
String parentDir = "license-tools-${version}"
|
|
into(parentDir + '/lib') {
|
|
from jar
|
|
from configurations.runtime
|
|
}
|
|
into(parentDir + '/bin') {
|
|
from 'bin'
|
|
}
|
|
}
|
|
|
|
assemble.dependsOn buildZip
|