apply plugin: 'elasticsearch.esplugin' apply plugin: 'elasticsearch.internal-cluster-test' 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') testImplementation project(path: xpackModule('core'), configuration: 'testArtifacts') }