Gradle `exclude` Issues

Hello all,
I have an issue with gradle’s exclude feature.

I am trying to exclude a dependency’s dependency, and include my own version of it.

The code is here:

I need to replace the LaunchWrapperPatcher in HyperiumClient/Installer with the hyperiumjailbreak/LaunchWrapperPatcher. (I cannot modify the source of HyperiumClient/Installer due to copyright issues).

If anybody could help, I would be very grateful.

Thank you in advance :smiley: