The use case is baselineing an osgi bundle.
I would like to retrieve from configured repositories the specified release (or the latest release) of a specified artifact (the one currently just built) such that I can use the jar file in a baseline operation (which requires the previous version and the new version).
Is there any gradle API that can be used for this?