1
0

Add serialization deps

This commit is contained in:
2020-09-11 16:26:19 +02:00
parent 8ea5207cde
commit 91a82c3736
6 changed files with 30 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package starter
enum class Category {
Server, Injection, Database, Test, Other
Server, Injection, Database, Serialization, Test, Other
}
enum class Scope {
@@ -11,6 +11,7 @@ class PomTemplate(private val engine: PebbleEngine) : Template {
override fun render(project: Project): String {
val args: MutableMap<String, Any?> = mutableMapOf(
"dependencies" to project.dependencies.sortedBy { it.scope },
"kotlinxSerialization" to project.dependencies.any { it.name == "Kotlinx-serialization" },
)
project.inputs.forEach {