efemoney
08/20/2019, 9:46 AMkotlin-scripting-jvm-host
is missing a dependency on kotlin-scripting-compiler(-embeddable)
in the pom. Had to explicitly specify it.gildor
08/20/2019, 11:29 AMilya.chernikov
08/20/2019, 1:54 PM-embeddable
, youneed to use appropriate -embeddable
host.efemoney
08/22/2019, 9:00 AMcom/intellij/openapi/util/Disposer
.efemoney
08/22/2019, 9:05 AM-embeddable
are supposed to be used within IntelliJ-land (eg kotlin IJ plugin etc) and the ones with -embeddable
are meant to be used in user-landilya.chernikov
08/22/2019, 9:22 AM-embeddable
compiler if you’re using -embeddable
host. And accordingly - non-embeddable compiler with non-embeddable host.ilya.chernikov
08/22/2019, 9:23 AM-embeddable
variants if you’re adding these dependencies to any non-trivial app.efemoney
08/22/2019, 10:32 AMilya.chernikov
08/22/2019, 11:24 AMWe have a bunch ofjars, starting from compiler. The `kotlin-compiler`jar is a fat jar that contains almost all dependencies inside and in the reduced form (we’re using proguard to remove unused parts.) So if your app need to include the compiler as a dependency, e.g. when you’re using scripting, then there is a chance of version clashes or missing functionality, if your app happens to depend from the same dependency. To avoid this problem the-embeddable
compiler is created in which all bundled 3-party dependencies are relocated to different package names. All other-embeddable
jars use-embeddable
compiler accordingly.-embeddable
efemoney
08/22/2019, 11:26 AM