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.
  • Loading branch information
shartte committed Nov 26, 2023
1 parent 902ae2c commit f1b4096
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 f1b4096

Please sign in to comment.