Closed sciwhiz12 closed 2 years ago
Please provide a example zip/git of the setup so we can reproduce and test.
Here is an example setup for testing: 1.18_multi_mod.zip
About the setup
It uses McJty's MultiWorkspace. The workspace
folder should "connect" all mods together and generate a launch command to start all of them at the same time. This test setup only contains the mod CreativeCore
. In the root directory there is a gradle project which should links all subprojects together.
Executing the gradlew genEclipseRuns
command in the root directory generates launch files in workspace
, which unfortunately contains a wrong reference to the bin folder of the CreativeCore project:
CreativeCore%%...PATH...\1.18_multi_mod\workspace\bin\main;...
Here is the same setup with the fixed ForgeGradle version (newest + this pr): 1.18_multi_mod_fixed.zip
Using the same command the generated launch files have now the correct path:
CreativeCore%%...PATH...\1.18_multi_mod\CreativeCore\bin\main...
This PR fixes an issue where referencing the source set of another project from a mod's sources in a run configuration causes the output folder to be referenced for that mod in the generated Eclipse runs to be incorrect.
See the commit message for more details:
Post-merge note: The
allOutputs
map was removed because of the revelation that it will never normally be queried.