FabricMC / fabric-loom

Gradle build system plugin used to automate the setup of a minecraft mod development environment.
MIT License
242 stars 211 forks source link

Multi-module with split sources giving `Circular dependency between the following tasks:` error #993

Open BenDol opened 12 months ago

BenDol commented 12 months ago

I'm not sure if there is a misconfiguration, but I followed the wiki and can't figure out why this is breaking. It seems to me like a bug.

Error:

Circular dependency between the following tasks:
:clientClasses
\--- :compileClientJava
     +--- :clientClasses (*)
     \--- :compileClientJava (*)

Project structure:

fantasy-rpg
   -> fantasy-core

Project for reproducing: https://github.com/BenDol/fantasy-rpg-bug

Discord support discussion: https://discord.com/channels/507304429255393322/842691768175951942/1178903977480441937

Thanks!

BenDol commented 12 months ago

Added project to reproduce the issue: https://github.com/BenDol/fantasy-rpg-bug