I’ve got a couple of artifacts in artifactory that are distribution zips.
e.g.
my.group:my-id:1.0.0@zip
my.group:my-id:1.0.0@tar.gz
I’ve set gradle to check my local maven repo 1st and then check Artifactory. (So that I can see other artifacts that are produced by maven builds that I am building locally as part of my dev work and aren’t published to Artifactory)
If my local maven repo is empty then gradle is happy to download these from Artifactory. However if my local maven repo contains only the zip then gradle will fail when trying to find the tar.gz and vice-versa.
This feels like a bug to me, but I’m pretty fresh to Gradle so the usual disclaimers apply.
At the moment the only way I can think of to work around this to completely change the maven coordinates to something like:
my.group:my-id-zip:1.0.0@zip
my.group:my-id-tar-gz:1.0.0@tar.gz
Any thoughts or pointers will be appreciated.
Regards,
Peter