When Gradle is building, the second repository block (Where mod compatibility is handled) in the build.gradle file is skipped and goes to the second dependencies block directly.
This causes a "DefaultMultiCauseException: could not resolve (mod dependency)" and stops the build which doesn't add the mod.
I have tried to recreate the repository block but nothing. I even went to the original mdk and pasted the build.gradle file, changed everything there and nothing.
You can find the build.gradle here: https://gist.github.com/frowcallaway/1f44f1293d6a44a6af2a99025c10f2f9
If you find a solution, please reply