1
0

Add custom repositories + arrow

This commit is contained in:
2020-09-11 16:51:41 +02:00
parent 3155a2bbe8
commit 6f691fcd75
6 changed files with 65 additions and 28 deletions
@@ -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 },
"repositories" to project.repositories,
"kotlinxSerialization" to project.dependencies.any { it.name == "Kotlinx-serialization" },
)