jdemeulenaere
08/06/2019, 9:50 AMilya.chernikov
08/06/2019, 10:27 AMkotlin-man-kts
implementation - https://github.com/JetBrains/kotlin/tree/master/libraries/tools/kotlin-main-kts
You probably don’t want to parse import statements yourself (and we do not provide any interfaces to our parser), but you can e.g. use some annotations, similar to DependsOn
one from main-kts
, put a package into it, and in your resolving code generate both dependencies and implicit imports out of it.jdemeulenaere
08/06/2019, 10:38 AMilya.chernikov
08/06/2019, 11:34 AMGary Tierney
08/06/2019, 12:14 PMkotlinc
figure out which artifact contains a package?