apatrida
01/03/2017, 5:00 PMkotlin-script-util into the keplin repo so I could more easily test (working with entire Kotlin code base is just too tough at times, I then verified everything worked as-is for your unit tests. They do their own script compilation and do not use the Repl compilation. So I then added a new unit test that does a basic thing (fails even without resource resolution when not using your special annotated script definitions), and then fails again when doing the maven resolution because the descriptors (kotlin metadata) are not loaded (this uses the maven resolver).
You could probably drop this test into your code base as-is:
https://github.com/kohesive/keplin/blob/master/kotlin-script-util/src/test/kotlin/org/jetbrains/kotlin/script/util/TestGenericEngine.kt
or pull my repo and run it there.