I would like to use the configured Artifactory server and credentials for artifact resolution only (not publishing) for some builds.
I have tried the Gradle plugin and the "command line" plugin.
Both have options for Artifaction Publishning but nothing for resolution.
If I enable the artifactory URL, and select the repository but uncheck all the deployment boxes no informatioin is passed to the build.
For the command line build I tried
and could find no artifactory related properties.
If I enable deployment then there is a section for custom dependencies, but this is quite different. These are downloaded to the build runner server without regard to dependency resolution. One could download an entire repository then use a 'directory' based resolution but thats is non-ideal (and I dont think its the intent for this).
This isn't a total blocking issue as I can manually set the repository in the gradle build configuration, and pass through env vars if needed the credentials,
Or configure globally 'mavenLocal' on each build machine to refer to artificatory. But it does seem odd with so much feature integration for publishing that none exists for resolution (which is much easier to implement)