Pill: Support kotlinx.serialization plugin

This commit is contained in:
Yan Zhulanow
2021-01-14 19:38:08 +09:00
parent bcce187e3f
commit 4e8ec69ca7
3 changed files with 19 additions and 5 deletions
+7 -1
View File
@@ -88,7 +88,13 @@ private fun renderModule(project: PProject, module: PModule) = PFile(
kotlinCompileOptions.apiVersion.option("apiVersion")
xml("option", "name" to "pluginOptions") { xml("array") }
xml("option", "name" to "pluginClasspaths") { xml("array") }
xml("option", "name" to "pluginClasspaths") {
xml("array") {
for (path in kotlinCompileOptions.pluginClasspath) {
xml("option", "value" to path)
}
}
}
}
}
}