So if I'm not using Gradle I need to add the libra...
# announcements
m
So if I'm not using Gradle I need to add the library explicitly?
l
You can't not use Gradle if you want to use kotlinx.serialization.
m
Ugh.
l
That's how it works. A Gradle plugin generates the serialization code so you don't have to hand write it. It seems like things are unclear to you.
m
I wasn't aware it was using a Gradle plugin to generate the serialization code.
l
m
The readme says there's an example Maven project too.
Ah, I see the notes right at the bottom of the readme now
So that seems to suggest that if I import a project with serialization enabled from a Gradle project, I no longer need Gradle afterwards.
"Starting from 1.3.11, no delegation is required." -- i.e. IDEA should handle the build
s
IDEA handling the build, but to add compiler plugin and runtime library to build classpath, you'd better use Gradle
IDEA alone does not provide any ways to configure compiler plugins now