Closed Fuyukai closed 1 year ago
You will also need to add clientImplementation project(":parent-project").sourceSets.client.output
to your dependencies.
It would be appreciated if that was documented somewhere, because as far as I can tell it very much is not.
clientImplementation project(":parent-project").sourceSets.client.output
Good idea, I have added this to the loom wiki page here: https://fabricmc.net/wiki/documentation:fabric_loom
implementation(project(":parent-project", configuration = "namedElements"))
Running the
:sub-project:runClient
gradle task works fine. A nice self-contained repro can be found here.