diff --git a/x-pack/plugin/inference/build.gradle b/x-pack/plugin/inference/build.gradle index b58e1e941b168..9486d239e5de5 100644 --- a/x-pack/plugin/inference/build.gradle +++ b/x-pack/plugin/inference/build.gradle @@ -405,3 +405,7 @@ tasks.named("thirdPartyAudit").configure { tasks.named('yamlRestTest') { usesDefaultDistribution("Uses the inference API") } + +artifacts { + restXpackTests(new File(projectDir, "src/yamlRestTest/resources/rest-api-spec/test")) +} diff --git a/x-pack/rest-resources-zip/build.gradle b/x-pack/rest-resources-zip/build.gradle index a613d91d8e9fe..6cc39aa168e91 100644 --- a/x-pack/rest-resources-zip/build.gradle +++ b/x-pack/rest-resources-zip/build.gradle @@ -27,6 +27,7 @@ dependencies { platinumTests project(path: ':x-pack:plugin', configuration: 'restXpackTests') platinumTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restXpackTests') platinumTests project(path: ':x-pack:plugin:ent-search', configuration: 'restXpackTests') + platinumTests project(path: ':x-pack:plugin:inference', configuration: 'restXpackTests') platinumCompatTests project(path: ':x-pack:plugin', configuration: 'restCompatTests') platinumCompatTests project(path: ':x-pack:plugin:eql:qa:rest', configuration: 'restCompatTests') }