As part of our gradual migration away from using Ivy under the hood, our use of IvySettings is getting less and less. At the same time we’re adding new features to Gradle to support most common use cases.
The code that you pasted was accessing a private field on an ‘internal’ (not public) class. As you see, this code has changed, and there is no longer any hack that I’m aware of where you can insert your own IvySettings instance for use by Gradle.
What are you trying to achieve with your custom IvySettings?
I had initially put that there so I can access the Artifactory client API. It turns out that I no longer need that access so the code I posted can be deleted.