Chachako
09/10/2022, 6:18 PMYoussef Shoaib [MOD]
09/10/2022, 6:33 PMComponentRegistrar
, so yes it is compatible. Just be careful though that your IR backend needs to be able to handle code both from the old FE frontend and also the FIR (K2) frontendChachako
09/11/2022, 6:24 AMYoussef Shoaib [MOD]
09/11/2022, 10:50 AM@Composable
functions outside of non-Composables) then you might find weird errors happening. Compose also most likely will receive a K2 update since again they don't rely on frontend that extensively AFAIK.Chachako
09/11/2022, 2:24 PMdmitriy.novozhilov
09/12/2022, 8:57 AMBindingContext
) which are deprecated but still accessible in combination of FE 1.0 + IR backend
So authors of those plugins should fix them before marking plugin as K2 compatibleChachako
09/12/2022, 2:34 PMdmitriy.novozhilov
09/12/2022, 3:08 PMChachako
09/12/2022, 4:10 PMIn such setup you could not use everything at onceUh... Do you mean that the following will fail? So I have to wait for other plugins to support the K2 API?
plugins {
id("org.jetbrains.compose") // Old compiler
id("io.realm.kotlin") // Old compiler
id("my.k2.compiler.plugin") // K2 compiler
}
dmitriy.novozhilov
09/13/2022, 7:46 AMmy.k2.compiler.plugin
will work
With K1 compiler only compose
and realm
dmitriy.novozhilov
09/13/2022, 7:47 AMallopen
) then it will work with both frontends