https://kotlinlang.org logo
#scripting
Title
# scripting
j

Javier

07/20/2022, 11:38 AM
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

mbonnin

07/20/2022, 11:42 AM
You can pin versions of SNAPSHOTs: https://stackoverflow.com/a/10439172/752630
Ooops, sorry this is not what you asked,
j

Javier

07/20/2022, 11:43 AM
Yep, but I was trying to avoid that and just get the latest and not the cached one
👍 1
m

mbonnin

07/20/2022, 11:43 AM
Yep, sorry I read too fast. Sounds like a bug to me...
j

Javier

07/20/2022, 11:46 AM
No problem :) Yeah maybe it is a bug
h

hfhbd

07/20/2022, 8:09 PM
How do you use it? With IntelliJ, this requires reloading all dependencies. A terminal build always uses the latest snapshot
j

Javier

07/20/2022, 8:09 PM
via CLI
I can't even run it from IntelliJ, I haven't seen the run button ever
h

hfhbd

07/20/2022, 8:12 PM
Hm, are you sure the artifact is replaced? I use the snapshot of sqldelight every day which works 😅
j

Javier

07/20/2022, 8:40 PM
100% sure, targeting the latest snapshot date version is working perfectly
2 Views