Support for 'Nearest' resolution strartegy

Do we have maven like ‘nearest’ resolution support yet? We have been holding migrating to Gradle because of this for couple of years now. In-fact, Gradle adoption has been so slow in our company just because of this.

/Abhi

Hi @Abhishek_Nath,

There’s so support for a nearest resolution strategy and there are no plans to add an analog at this time.

Ah… is there a way to implement our own resolution strategy?

Not based on position within the graph, but based on metadata, yes.

https://docs.gradle.org/current/dsl/org.gradle.api.artifacts.ResolutionStrategy.html

Is there a reason you don’t want to support Maven “Nearest”? Does it creates more problems than it solves? Am looking for a reason I can sell! :grinning: