my current best plan would be to either look at what kscript is oing (i fiantly remember they have something similar) or just set up a gradle project, and figure out how to configure run configurations from kotlin-dsl
p
Parshav
09/03/2018, 5:40 PM
Am currently using kscript for something like this, and it does the job well. the --idea command opens it as a temp project with the appropriate gradle dependencies defined already with the
//DEPS
tag. Would recommned moving forward with kscript 👍
n
Nikky
09/03/2018, 7:06 PM
do you know if kscript itself can be used as a dependency easily ?
so i can just do
load<MyClass>(FIle("input.kts"))
or similar
p
Parshav
09/04/2018, 4:35 PM
I haven’t done something like that but you can add other source files, not sure if ^ is possible. Not much help on that one 😕 .