kotlinx.serialization compiler plugin is not applied to the module, so this annotation would not be processed. Make sure that you've setup your buildscript correctly and re-import project.
What is the way to use compiler plugins without Gradle, so using only(?) .iml files in intellij? (the link explains why, as I'm also running a 1-day workshop on (FP in) Kotlin)
r
Roman Golyshev
02/20/2024, 9:11 AM
Hi! You can try specifying the
-XPlugin
compiler argument in the Kotlin Facet of your module in the Project Settings:
d
danL
02/21/2024, 3:05 PM
thx! great advice and insightful and should-work
(unfortunately i get a can't-find-path error to the plugin jar file that really is there, absolute or relative ; and i see this is a recurring problem on certain older versions of intellij)
furthermore, i don't even know if i downloaded the correct serialization compiler plugin
r
Roman Golyshev
02/21/2024, 4:04 PM
If possible, please share your IDEA version and the error message that you see
d
danL
02/22/2024, 2:07 AM
🤦 i had to remove quotation marks on the filepath thus.