I’m looking for a possiblity to download a few custom Maven artifacts from a repository. So I have the coordinates (group id, artifacts id) and would like to get a list of version and download the contents for a given version.
Those artifacts are not specified in the dependency section. It is supposed to become a discovery mechanism to then later add those artifacts as dependency.
Is there a good way to achiving this? Something like Maven Aether seems good. But I would prefer do make use of the mechanisms already in place in Gradle. ArtifactResolutionQuery seem like it could be the one. But its API is fairly abstract without many example. What would be the way to feed the maven artifacts into it?