u6f6o
u6f6o

Reputation: 2190

Gradle: Show dependencies that have newer versions

Is there a plugin or sth. else for Gradle that informs you when there are new library versions available for a certain depedency?

Might be difficult if some libs do not stick to well-known version conventions but for the others I think it should be possible to find out!?

If there is not, any hints how to implement this feature are appreciated.

Thanks

Upvotes: 2

Views: 115

Answers (1)

Peter Niederwieser
Peter Niederwieser

Reputation: 123910

No such plugin ships with Gradle. There might be a third-party plugin, but I'm not aware of one. To implement this, you would iterate over a configuration's resolved dependencies (using the configuration.resolvedConfiguration or configuration.incoming API) and query some website (e.g. http://search.maven.org) or web service for latest versions. For API details, see the Gradle Build Language Reference.

Upvotes: 1

Related Questions