How can I load a script with a dependency from a s...
# scripting
s
How can I load a script with a dependency from a script compiled before? The compiler don't generate a file with the bytecode right ? I just have the bytecode from the script and JvmDependency is just File
i
There is no direct support for it yet. But I’ve heard this request many times, so I just added an issue about it - https://youtrack.jetbrains.com/issue/KT-30466
Technically this should be similar to the REPL - every REPL snippet now is a script in which all previous snippets are imported. But there is not yet an easy way to combine REPL with new scripting customization.