MCP-Reborn icon indicating copy to clipboard operation
MCP-Reborn copied to clipboard

"Could not find MCP parent project" in multi-module project.

Open orbyfied opened this issue 3 years ago • 1 comments

Note

Ill be referring to MCP-Reborn using MCP throughout this post.

Problem

Hello, I'm having issues using MCP-Reborn in a multi-module/project project. I had some ForgeGradle resolving issues but I've fixed those. But now I'm having an issue resulting in this error;

Caused by: org.gradle.api.UnknownProjectException: Project with path ':mcp' could not be found in project ':platform-v-1_18_1'. Caused by: java.lang.IllegalStateException: Could not find MCP parent project, you must specify a parent chain to MCP.

The module "platform-v-1_18_1" is a sub-project of the root project. I basically extracted the MCP files into the module directory and then edited the build.gradle to match my needs.

Resources

Screenshot of my module structure (I deleted all files I thought I didn't need, like the settings.gradle and MCP-License): image

The platform-v-1_18_1/build.gradle: Hastebin

orbyfied avatar Jan 31 '22 01:01 orbyfied

Anyone?

orbyfied avatar Jun 28 '22 08:06 orbyfied