Unresolved reference: serializer
# announcements
b
Unresolved reference: serializer
d
Does it actually not build? Or is the IDE just complaining?
b
both
the app build gradle.kts
Copy code
@Serializable
data class Foo(
    val bar: String
)

fun bar() {
    Foo.serializer()
}
Even this doesn't work
d
It might be slightly too soon to use that version of kotlin.
b
I tried with 1.3.10 it failed too…
found it
it was that I was using the kts build file, and I needed that plugin management part as it couldn't find the plugin