Skip to content

Commit

Permalink
Make sure the test-features plugin is registered as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Sep 12, 2024
1 parent 0f1bb41 commit 7b25f08
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ public void apply(Project project) {
extractedPluginsConfiguration.extendsFrom(pluginsConfiguration);
configureArtifactTransforms(project);

// Add test-features plugin as a test cluster dependency by default
if (project.findProject(":plugins:test-features") != null) {
pluginsConfiguration.getDependencies().add(project.getDependencies().create(":plugins-test-features"));
}

// Create configuration for aggregating historical feature metadata
FileCollection featureMetadataConfig = project.getConfigurations().create(FEATURES_METADATA_CONFIGURATION, c -> {
c.setCanBeConsumed(false);
Expand Down

0 comments on commit 7b25f08

Please sign in to comment.