1
0

Use name as default artifactId

This commit is contained in:
Hubert Van De Walle 2020-10-06 22:56:37 +02:00
parent ed4d9264eb
commit 009ddd3d16
2 changed files with 3 additions and 14 deletions

View File

@ -27,7 +27,7 @@ flyway = "7.0.0"
hikaricp = "3.4.5"
ktorm = "3.0.0"
junit = "5.7.0"
mokk = "1.10.0"
mockk = "1.10.0"
hamkrest = "1.7.0.3"
assertj = "3.17.2"
kodein-di = "7.1.0"
@ -54,7 +54,6 @@ default = true
[dependencies.http4k-server-jetty]
groupId = "org.http4k"
artifactId = "http4k-server-jetty"
version = "http4k"
category = "http4k"
default = true
@ -62,43 +61,36 @@ logger = "org.eclipse.jetty"
[dependencies.http4k-server-apache]
groupId = "org.http4k"
artifactId = "http4k-server-apache"
version = "http4k"
category = "http4k"
[dependencies.http4k-client-apache]
groupId = "org.http4k"
artifactId = "http4k-client-apache"
version = "http4k"
category = "http4k"
[dependencies.http4k-format-jackson]
groupId = "org.http4k"
artifactId = "http4k-format-jackson"
version = "http4k"
category = "http4k"
[dependencies.http4k-format-kotlinx-serialization]
groupId = "org.http4k"
artifactId = "http4k-format-kotlinx-serialization"
version = "http4k"
category = "http4k"
[dependencies.http4k-contract]
groupId = "org.http4k"
artifactId = "http4k-contract"
version = "http4k"
category = "http4k"
[dependencies.pebble]
groupId = "io.pebbletemplates"
artifactId = "pebble"
default = true
logger = "com.mitchellbosecke.pebble"
[dependencies.caffeine]
groupId = "com.github.ben-manes.caffeine"
artifactId = "caffeine"
[dependencies.logback]
groupId = "ch.qos.logback"
@ -112,7 +104,6 @@ category = "database"
[dependencies.h2]
groupId = "com.h2database"
artifactId = "h2"
category = "database"
[dependencies.flyway]
@ -154,7 +145,7 @@ scope = "test"
category = "test"
default = true
[dependencies.mokk]
[dependencies.mockk]
groupId = "io.mockk"
artifactId = "mockk"
scope = "test"
@ -162,7 +153,6 @@ category = "test"
[dependencies.hamkrest]
groupId = "com.natpryce"
artifactId = "hamkrest"
scope = "test"
category = "test"
@ -198,5 +188,4 @@ category = "serialization"
[dependencies.arrow-core]
groupId = "io.arrow-kt"
artifactId = "arrow-core"
repository = "arrow"

View File

@ -38,7 +38,7 @@ class Config {
Dependency(
name = name,
groupId = values["groupId"],
artifactId = values["artifactId"],
artifactId = values["artifactId"] ?: name,
version = Version(versionKey, version),
default = values.getOrElse("default", false),
category = values.getEnumOrElse("category", Category.Other),