Slackbot
10/01/2023, 11:32 AMRobert Elliot
10/01/2023, 11:34 AMio.kotest:kotest-framework-api
and io.kotest:kotest-assertions-shared
amongst others. In build.gradle.kts
it would be nice to able to declare this:
dependencies {
testImplementation(platform(libs.kotest.bom))
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.kotest.framework.api)
testImplementation(libs.kotest.assertions.shared)
}
with this `libs.versions.toml`:
[versions]
kotest = "5.7.2"
[libraries]
kotest-bom = { module = "io.kotest:kotest-bom", version.ref = "kotest" }
Instead I have to have this `libs.versions.toml`:
[versions]
kotest = "5.7.2"
[libraries]
kotest-bom = { module = "io.kotest:kotest-bom", version.ref = "kotest" }
kotest-runner-junit5 = { module = "io.kotest:kotest-runner-junit5" }
kotest-framework-api = { module = "io.kotest:kotest-framework-api" }
kotest-assertions-shared = { module = "io.kotest:kotest-assertions-shared" }
which feels otiose, when the kotest-bom
already declares those modules.Thomas Broyer
10/01/2023, 2:42 PMRobert Elliot
10/01/2023, 4:08 PMThomas Broyer
10/01/2023, 5:28 PMmelix
10/03/2023, 7:24 AMmicronaut-build
plugins. We intensively use catalogs, in addition with conventions to determine what needs to be exported in a BOM. We have tools to inline catalogs into other catalogs, typically.