apply plugin: 'elasticsearch.esplugin' apply plugin: 'elasticsearch.yaml-rest-test' esplugin { description 'Deprecated query plugin' classname 'org.elasticsearch.query.DeprecatedQueryPlugin' } restResources { restApi { includeCore '_common', 'indices', 'index' includeXpack 'async_search' } } testClusters.all { testDistribution = 'DEFAULT' setting 'xpack.security.enabled', 'false' } test.enabled = false