19 lines
696 B
Groovy
19 lines
696 B
Groovy
|
evaluationDependsOn(xpackModule('core'))
|
||
|
|
||
|
apply plugin: 'elasticsearch.esplugin'
|
||
|
esplugin {
|
||
|
name 'x-pack-voting-only-node'
|
||
|
description 'Elasticsearch Expanded Pack Plugin - Voting-only node'
|
||
|
classname 'org.elasticsearch.cluster.coordination.VotingOnlyNodePlugin'
|
||
|
extendedPlugins = ['x-pack-core']
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
||
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
||
|
}
|
||
|
|
||
|
// 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
|
||
|
integTest.enabled = false
|