diff --git a/platform/src/main/java/net/neoforged/gradle/platform/PlatformSettingsPlugin.java b/platform/src/main/java/net/neoforged/gradle/platform/PlatformSettingsPlugin.java index 79ded2f75..e11c029ad 100644 --- a/platform/src/main/java/net/neoforged/gradle/platform/PlatformSettingsPlugin.java +++ b/platform/src/main/java/net/neoforged/gradle/platform/PlatformSettingsPlugin.java @@ -46,7 +46,7 @@ public void execute(@NotNull Project project) { final Optional 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));