altavir
02/01/2019, 6:29 PMimplicitReceivers
both in compilation configuration and evaluation configuration, but now I have java.lang.IllegalArgumentException: Unknown key Key(baseClass)
Nikky
02/01/2019, 11:52 PMWorkspaceBuilder
in your case
and passed the constructor argsNikky
02/01/2019, 11:53 PMNikky
02/01/2019, 11:53 PMaltavir
02/02/2019, 6:44 AMBuilder
to be open which is not always convenient.ilya.chernikov
02/05/2019, 12:04 PMbaseClass
- a superclass for script code generation - in the compilation configuration. (Maybe this is a non-necessary limitation and we’ll drop it in the future)
It should be either put there manually, or, preferably, by annotating base class with a @KotlinScript
and then creating a(n extendable) configuration from it.
See e.g. here - https://github.com/JetBrains/kotlin/blob/1.3.20/libraries/examples/scripting/jvm-simple-script/host/src/org/jetbrains/kotlin/script/examples/jvm/simple/host/host.kt#L19altavir
02/05/2019, 12:08 PMAny
as a base class. The script compiles, but does not affect the receiver state.ilya.chernikov
02/05/2019, 1:47 PMaltavir
02/05/2019, 1:50 PMaltavir
02/05/2019, 1:51 PMaltavir
02/05/2019, 1:51 PMaltavir
02/05/2019, 2:03 PMilya.chernikov
02/05/2019, 2:05 PMaltavir
02/05/2019, 2:06 PMaltavir
02/05/2019, 2:06 PMdependenciesFromCurrentContext(wholeClasspath = true)
. Thanks a lotilya.chernikov
02/05/2019, 2:07 PMaltavir
02/05/2019, 2:08 PM