Slackbot
03/25/2022, 4:58 PMgrossws
03/27/2022, 11:27 AMNamedDomainObjectContainer which modify dependencyResolutionManagement when relevant part of the settings script is executed.
Also there's gradle#settingsEvaluated to create defer callback to the point when the settings script has been evaluated.
I use both approaches since eager methods like `container#all`/`container#whenObjectAdded` are fired before configuration callback is executed, so I just use myExt.container.all { gradle.settingsEvaluated(MyConfigAction(name)) } and use that name to get configured element from container in my action.