Yoavya
10/31/2021, 4:38 PM@Annot
and i find all the relevant classes with reflection in the gradle task (I made sure to depend on kotlin compile so that the binaries are created). The problem is that when I try to use
val clazz: Class<*>
clazz.kotlin.serializer()
I get a Serializer for class 'Type' is not found.
(Type is the actual class that I found and is annotated with @Serializable
and @Annot
.
What am I missing? why can’t I access the class serializer with the gradle task?Yoavya
11/10/2021, 4:42 PM