Fixed Gradle setup snippets
Fixed Gradle setup snippets

Ensures consistency with the default Gradle project generated by IDEA;
Move plugin dependency into buildscript  section
Kotlin/kotlinx.serialization,Kotlin/kotlinx.serialization