Kotlin-compiler-embeddable vs kotlin-compiler


There are two different maven packages relevant to kotlin compiler:

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


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.