Is it a `.main.kts` script ? If yes you can look a...
# scripting
j
So in this order: 1. The directory contained in the
COMPILED_SCRIPTS_CACHE_DIR_PROPERTY
environment variable, if defined 2. The directory contained in the
COMPILED_SCRIPTS_CACHE_DIR_ENV_VAR
environment variable, if defined 3. The directory named
main.kts.compiled.cache
inside the directory contained in the
<http://java.io|java.io>.tmpdir
environment variable, if it exists
@louiscad FYI (forgot to reply directly to your question)
l
@jdemeulenaere Mine is empty, there's nothing in the
main.kts.compiled.cache
directory. I guess I'll wait for the dependency resolver replacement coming in Kotlin 1.4 then…
i
COMPILED_SCRIPTS_CACHE_DIR_PROPERTY
, etc. are about the script compilation caches, I guess that the original question was about dependencies cache. In case of
.main.kts
it is `ivy`'s default
~/.ivy2/caches
👍 1