2019-06-25 11:29:30 -04:00
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
|
|
esplugin {
|
2019-11-14 06:01:23 -05:00
|
|
|
name 'x-pack-voting-only-node'
|
|
|
|
description 'Elasticsearch Expanded Pack Plugin - Voting-only node'
|
|
|
|
classname 'org.elasticsearch.cluster.coordination.VotingOnlyNodePlugin'
|
|
|
|
extendedPlugins = ['x-pack-core']
|
2019-06-25 11:29:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
|
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
2019-06-25 11:29:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// xpack modules are installed in real clusters as the meta plugin, so
|
|
|
|
// installing them as individual plugins for integ tests doesn't make sense,
|
|
|
|
// so we disable integ tests
|
2019-11-14 06:01:23 -05:00
|
|
|
integTest.enabled = false
|