Jonathing
04/29/2025, 5:25 PMdependencyResolutionManagement { repositories }
works? Or can someone explain it to me if it isn't documented? I understand that it is currently incubating.
As far as I've been able to tell, using it makes the project's own repositories immutable, but that's all I think I understand about it. I do my version catalog management in the settings.gradle
file, so I'll take any chances to keep as many things related to dependency management in that file as possible.ephemient
04/29/2025, 5:29 PMJonathing
04/29/2025, 5:29 PMVampire
04/29/2025, 7:22 PMJonathing
04/29/2025, 7:23 PMVampire
04/29/2025, 7:25 PMJonathing
04/29/2025, 7:26 PMVampire
04/29/2025, 7:27 PMFAIL...
mode, well, it would fail.Jonathing
04/29/2025, 7:29 PMGradle#settingsEvaluated
to check the state of the repositories mode when the plugin is applied to settings.Vampire
04/29/2025, 7:33 PMDependencyHandler
, then your consumer has the opt-in and can easily add the repository where suitable for his buildJonathing
04/29/2025, 7:34 PM