Skip to content

Commit 099a3db

Browse files
authored
Fix example plugins tests (#115890)
1 parent 6a9f8f3 commit 099a3db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/examples/settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ gradle.projectsEvaluated {
3737
configurations.all {
3838
resolutionStrategy.dependencySubstitution {
3939
// When using composite builds we need to tell Gradle to use the project names since we rename the published artifacts
40+
substitute module('org.elasticsearch.plugin:elasticsearch-plugin-api') using module("org.elasticsearch.plugin:plugin-api:${elasticsearchVersion}")
41+
substitute module('org.elasticsearch.plugin:elasticsearch-plugin-analysis-api') using module("org.elasticsearch.plugin:plugin-analysis-api:${elasticsearchVersion}")
42+
substitute module('org.elasticsearch:elasticsearch-plugin-scanner') using module("org.elasticsearch:plugin-scanner:${elasticsearchVersion}")
43+
substitute module('org.elasticsearch:elasticsearch-core') using module("org.elasticsearch:core:${elasticsearchVersion}")
4044
substitute module('org.elasticsearch:elasticsearch') using module("org.elasticsearch:server:${elasticsearchVersion}")
4145
substitute module('org.elasticsearch.client:elasticsearch-rest-client') using module("org.elasticsearch.client:rest:${elasticsearchVersion}")
4246
substitute module('org.elasticsearch.plugin:x-pack-core') using module("org.elasticsearch.plugin:core:${elasticsearchVersion}")

0 commit comments

Comments
 (0)