Skip to content

Commit

Permalink
Fix example plugins tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Oct 29, 2024
1 parent b6d2d4b commit 5f3158b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/examples/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 5f3158b

Please sign in to comment.