mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 20:08:56 +00:00
We are relying on the fact that :x-pack-elasticsearch:plugin:core is configured before these. This happens when these projects are alphabetically after core, but is not the case when they are not (ccr). To address this, we simplfy be explicit about evaluation order in all sub-plugins. Relates elastic/x-pack-elasticsearch#3663 Original commit: elastic/x-pack-elasticsearch@755f84258b
34 lines
917 B
Groovy
34 lines
917 B
Groovy
evaluationDependsOn(':x-pack-elasticsearch:plugin:core')
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
esplugin {
|
|
name 'x-pack-graph'
|
|
description 'Elasticsearch Expanded Pack Plugin - Graph'
|
|
classname 'org.elasticsearch.xpack.graph.Graph'
|
|
hasNativeController false
|
|
requiresKeystore true
|
|
extendedPlugins = ['x-pack-core']
|
|
licenseFile project(':x-pack-elasticsearch').file('LICENSE.txt')
|
|
noticeFile project(':x-pack-elasticsearch').file('NOTICE.txt')
|
|
}
|
|
archivesBaseName = 'x-pack-graph'
|
|
|
|
licenseHeaders.enabled = false
|
|
|
|
integTest.enabled = false
|
|
|
|
dependencies {
|
|
provided "org.elasticsearch:elasticsearch:${version}"
|
|
|
|
provided "org.elasticsearch.plugin:x-pack-core:${version}"
|
|
testCompile project(path: ':x-pack-elasticsearch:plugin:core', configuration: 'testArtifacts')
|
|
}
|
|
|
|
dependencyLicenses {
|
|
ignoreSha 'x-pack-core'
|
|
}
|
|
|
|
run {
|
|
plugin ':x-pack-elasticsearch:plugin:core'
|
|
}
|