<@U0BAF68H2> importing functions is not available ...
# scripting
i
@alex.hart importing functions is not available yet, but is discussed now for a future implementation - https://github.com/Kotlin/KEEP/blob/scripting/proposals/scripting-support.md To use scripts with junit you’ll need to use script customization, in particular use the template
kotlin.script.templates.standard.SimpleScriptTemplate
- it requires no arguments for constructor. To do this you’ll need to pass the argument
-script-templates
with that FQN to the compiler. But I’m not sure it will be enough to make it work, it is not something we tried ourselves.