Why wouldn’t you?
I have a library, and the library can save its “storage” in a file and load from that file. Some sort of a file cache.
j
jeggy
06/21/2021, 8:23 PM
I'm just unsure how compiler plugins fully work and how it will effect users of this library. Example if some users using the library are using one version of kotlinx.serialization while the library is using another version.
Maybe all this doesn't matter at all?
r
rnett
06/21/2021, 8:50 PM
That doesn't matter for compiler plugins, they only affect code in the project they are added to. Of course, that's still an issue with the runtime, but that's expected. You could use Kotlinx serialization internally and hide it with