22 lines
816 B
Groovy
22 lines
816 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')
|
||
|
if (isEclipse) {
|
||
|
testCompile project(path: xpackModule('core-tests'), 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
|