I have been experiencing a problem adding a dependency to the project for a couple of days now.
However, I was able to solve it by adding this to the build.gradle:
property 'mixin.env.remapRefMap', 'true'
property 'mixin.env.refMapRemappingFile', "${projectDir}/build/createSrgToMcp/output.srg"
This actually starts the game for me if I go to eclipse's Gradle Tasks window and do runClient, but if I try to run debug mode it's like what I put in the build.gradle is not being read.
I already tried reloading gradle and genEclipseRuns, and I noticed that the runClient that uses debug is not a Gradle Task but a Java Application.