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') testImplementation 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