jdemeulenaere
05/26/2020, 7:06 AM.main.kts
script ? If yes you can look at the script definition: https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-main-kts/src/org/jetbrains/kotlin/mainKts/scriptDef.kt#L70jdemeulenaere
05/26/2020, 7:10 AMCOMPILED_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 existsjdemeulenaere
05/26/2020, 7:11 AMlouiscad
05/26/2020, 7:20 AMmain.kts.compiled.cache
directory. I guess I'll wait for the dependency resolver replacement coming in Kotlin 1.4 then…ilya.chernikov
05/28/2020, 10:58 AMCOMPILED_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