From 5f3158b902c8c84ecb4da00a767dc51e9f04ed74 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 29 Oct 2024 15:04:23 -0700 Subject: [PATCH] Fix example plugins tests --- plugins/examples/settings.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/examples/settings.gradle b/plugins/examples/settings.gradle index 1f168525d4b1..bbeb024957b7 100644 --- a/plugins/examples/settings.gradle +++ b/plugins/examples/settings.gradle @@ -37,6 +37,10 @@ gradle.projectsEvaluated { configurations.all { resolutionStrategy.dependencySubstitution { // When using composite builds we need to tell Gradle to use the project names since we rename the published artifacts + substitute module('org.elasticsearch.plugin:elasticsearch-plugin-api') using module("org.elasticsearch.plugin:plugin-api:${elasticsearchVersion}") + substitute module('org.elasticsearch.plugin:elasticsearch-plugin-analysis-api') using module("org.elasticsearch.plugin:plugin-analysis-api:${elasticsearchVersion}") + substitute module('org.elasticsearch:elasticsearch-plugin-scanner') using module("org.elasticsearch:plugin-scanner:${elasticsearchVersion}") + substitute module('org.elasticsearch:elasticsearch-core') using module("org.elasticsearch:core:${elasticsearchVersion}") substitute module('org.elasticsearch:elasticsearch') using module("org.elasticsearch:server:${elasticsearchVersion}") substitute module('org.elasticsearch.client:elasticsearch-rest-client') using module("org.elasticsearch.client:rest:${elasticsearchVersion}") substitute module('org.elasticsearch.plugin:x-pack-core') using module("org.elasticsearch.plugin:core:${elasticsearchVersion}")