I am picking a dependency from Sonatype snapshot r...
# scripting
j
I am picking a dependency from Sonatype snapshot repo and looks like it is cached and it is not replaced with the new artifact, I am forced to indicate the date or is there a way to force to update it?
m
You can pin versions of SNAPSHOTs: https://stackoverflow.com/a/10439172/752630
Ooops, sorry this is not what you asked,
j
Yep, but I was trying to avoid that and just get the latest and not the cached one
👍 1
m
Yep, sorry I read too fast. Sounds like a bug to me...
j
No problem :) Yeah maybe it is a bug
h
How do you use it? With IntelliJ, this requires reloading all dependencies. A terminal build always uses the latest snapshot
j
via CLI
I can't even run it from IntelliJ, I haven't seen the run button ever
h
Hm, are you sure the artifact is replaced? I use the snapshot of sqldelight every day which works 😅
j
100% sure, targeting the latest snapshot date version is working perfectly