Hi gradle enthusiasts.

To start with, here is my problem statement.
I would like to guarantee that jars from my maven release type repository
(hosted on sonatype server) are always updated in cache, as if they were
snapshots.


I was browsing the
org.gradle.api.internal.artifacts.ivyservice.GradleIBiblioResolver code and
came across that is has a DAILY CacheTimeoutStrategy as a default.

If I wanted to change over to having CacheTimeoutStrategy ALWAYS how would I
go about doing that in build script?
Am I right in assuming then that ALL external dependencies would be updated?

Is it possible to have more than one changingPattern?

If I were to extends GradleIBiblioResolver, would I be able to use that
class instead of the default GradleIBiblioResolver?
How would I make gradle use that class?

Or am I just approaching this completely wrong (I probably should be using
snapshot type repositories but at the moment it is not possible - maybe
later).

regards
gretar

Reply via email to