Kotlin-compiler-embeddable vs kotlin-compiler


#1

There are two different maven packages relevant to kotlin compiler:

What are the differences between the two and when should they be used respectively?


#2

kotlin-compiler-embeddable should be used in scenarios when it’s necessary to have the compiler packaged as a single jar with no external dependencies. In all other cases, use the regular kotlin-compiler.