https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
a

Artyom Degtyarev [JB]

10/24/2019, 5:02 PM
Hello! What plugin are you using here? AFAIK, this function is unavailable for
kotlin-multiplatform
a

Alexander Minyaev

10/24/2019, 5:04 PM
Copy code
plugins {
    id("kotlin2js")
    id("org.jetbrains.kotlin.frontend")
    id("kotlin-dce-js")
}
When I tried to use
kotlin-multiplatform
+
com.android.library
+
org.jetbrains.kotlin.frontend
together in one module I had error (on screenshut)
g

gildor

10/24/2019, 11:31 PM
This function is available only for old platform plugins, you even do not apply them. kotlin-multiplatform is the only right way for MPP
a

Artyom Degtyarev [JB]

10/25/2019, 12:53 PM
According to this blogpost(https://blog.jetbrains.com/kotlin/2019/06/kotlin-1-3-40-released/), the
org.jetbrains.kotlin.frontend
should be deprecated soon. I’d recommend getting rid of it. Are there some reasons why you cannot do it at the moment?