bazelbuild / rules_jvm_external

Bazel rules to resolve, fetch and export Maven artifacts
Apache License 2.0
316 stars 236 forks source link

FR: Ability to customize the location of RJE_UNSAFE_CACHE #1159

Open tharakadesilva opened 4 weeks ago

tharakadesilva commented 4 weeks ago

This is to help caching in Gitlab CI.

Gitlab CI only allows caching things that are in the cloned repo. When working with Maven, we do something like -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository.

Would be nice to have something like RJE_UNSAFE_CACHE_LOCATION to help configure things so that we can cache the unsafe cache location.

This is mainly for our Renovate jobs that run the repinning.