Skip to content

Commit

Permalink
Use the full project path to decide whether dynamic project managemen…
Browse files Browse the repository at this point in the history
…t should apply the platform plugin. (#58)
  • Loading branch information
shartte authored Nov 27, 2023
1 parent 24a5f07 commit 1f578ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void execute(@NotNull Project project) {

final Optional<ProjectDescriptor> match = projectManagementExtension.getDynamicProjects().
stream()
.filter(desc -> desc.getName().equals(project.getName()))
.filter(desc -> desc.getPath().equals(project.getPath()))
.findFirst();

match.ifPresent(desc -> project.getPlugins().apply(PlatformPlugin.class));
Expand Down

0 comments on commit 1f578ed

Please sign in to comment.