I'm having trouble (`NoClassDefFoundError` errors)...
# compiler
r
I'm having trouble (
NoClassDefFoundError
errors) trying to use a library in a native compiler plugin (i.e. using
kotlin-compiler
instead of
kotlin-compiler-embeddable
. Said library also uses
kotlin-compiler
, and I'm depending on it using
implementation
, which works fine for the non-native compiler plugin, but when I try to use something from the library in the native plugin I get
NoClassDefFoundError
. Do I need to shade it in myself?
s
Whats the fqname of the class its not finding?
r
com.rnett.plugin.ir.UtilsKt
, it's from my library
Update: shadowing does work. I assume this is why native uses
kotlin-compiler
instead of
kotlin-compiler-embeddable
.