refreshVersions
refreshVersions copied to clipboard
Possibility to configure plugin to skip certain repos
- [x] I have read the guidelines for submitting issues
⚠️ Is your feature request related to a problem? Please describe
My use case: I have dependencies in a private repo that requires credentials. So for those dependencies, I hardcode their versions. I think it might be useful to be able to specify that such repos should be skipped when trying to resolve the dependency versions.
Also, it might help with this: because of that private repo, I get this comment above each entry in versions.properties:
## failed to check repo https://example.com/artifactory/libs-release/ Cause: http status code 403 HTTP 403 Response.error()
💡 Describe the solution you'd like
A way to configure refreshVersions
to skip certain repos. It could be a list of URLs declared e.g. in the refreshVersions {}
config block.
🤚 Do you want to develop this feature yourself?
- [ ] Yes
- [x] No
Hello, do you also get this error line for the libraries that actually are in the repo?
Hello, sorry for the late reply. I had a few days off, I haven't touched the project in the meantime, but running the refreshVersions
task again today, that error disappeared.
For the library in the private repo, I had hardcoded the version before, but today I tested with _
instead and it gets resolved fine as well. Can't understand what was going on the other time.
That's strange, please reopen if you get the issue again