https://kotlinlang.org logo
s

shikasd

12/28/2019, 10:49 AM
Hey, I remember you mentioning that you have set up a pipeline with to follow Kotlin snapshot releases. Does that include the all artifacts of compiler or just
compiler-embeddable
artifact? I just have tried to apply plugin to K/N and failing so far 😄
r

raulraja

12/28/2019, 12:27 PM
That ensures at the moment we produce a release for upcoming compiler versions automatically which depends on that compiler versions. I'm not sure if we are following snapshot releases too but @Rachel may be able to clarify how the CI setup works.
r

Rachel

12/28/2019, 9:16 PM
🙌 Arrow Meta CI is following latest Kotlin release version (1.3.61 now) for all the branches. At the same time there is a bot which is following both latest EAP version (1.3.70-eap-x now) and latest DEV version (1.4.0-dev-x now). However, as far as I know, all the generated artifacts must be run on JVM. I think we're not generating binaries. Please, could it be possible to know the example you tried with Kotlin Native, @shikasd? Thanks in advance!
s

shikasd

12/30/2019, 12:18 AM
I just was playing with my own playground so far, and seems like
compiler-embeddable
artifact does not fit. I have also checked compose setup and they use recompiled
compiler
and
intellij-core
artifacts for some reason.
r

raulraja

12/31/2019, 11:50 AM
The embedded compiler includes also a shadow version of that for all things PSI
They are probably creating their own embedded compiler because they are forking
What kind of error do you get @shikasd?
s

shikasd

12/31/2019, 4:27 PM
@raulraja It cannot find shadowed classes for intellij-core API (those all things PSI).
r

raulraja

12/31/2019, 5:16 PM
If that is happening in your compiler plugin when it runs in the IDE it may be that you are not shadowing your compiler plugin. The meta compiler plugin has a shadow config to do that to reverse the shadowing the compiler embeddable does so your plugin code is compatible in IDEA
This is probably a feature that should be in meta for depending plugins to do that automatically
But for the time being you can copy the shadow config into your local Gradle if that helps
s

shikasd

12/31/2019, 6:05 PM
I haven't really done anything in IDE yet, it happens with cli on multiplatform (native) sourceset
r

raulraja

12/31/2019, 6:13 PM
s

shikasd

12/31/2019, 6:14 PM
Thanks, will check