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: https://github.com/hyperiumjailbreak/client/blob/67d876de88736360ed5fba7e027fdde2c30c85e7/build.gradle#L83

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: