Hi Mohaan, I had a look at the example you have posted in the referenced post. I could reproduce the behavior. Nevertheless it does not seem to be related to this PR.
Gradle has (at least) two different ways of publishing to ivy. This PR was related to the ‘ivy-publish’ plugin(https://docs.gradle.org/current/userguide/publishing_ivy.html). Your example uses the ‘uploadArchives’ task which is another way of doing publishing in gradle.
So for me it looks like that the ‘uploadArchives’ way introduced a bug which removes the exclude rules in gradle 2.5 while the ‘ivy-publish’ plugin did not support the excludes in older versions but supports it since gradle 2.11.
So you could consider migrating to the ‘ivy-publish’ plugin and upgrade to the latest gradle version or you need to wait for a bugfix in the old mechanism and continue using gradle 2.4.