Slackbot
04/27/2022, 1:15 AMgrossws
04/27/2022, 2:38 AMtoml
file (gradle/libs.versions.toml
would be automagically imported as libs
catalog) and define it there like this:
[versions]
assert4j = "3.22.0"
[libraries]
assertj-core = { module = "org.assertj:assertj-core", version.ref = "assert4j" }
API is useful if you want to build catalog from other meta sources, using loops etc.
And please don't split messages, either edit original or add info in the 🧵. Else it make harder to follow the context and can split discussion.grossws
04/27/2022, 2:41 AMtesting.suites {
val test by existing(JvmTestSuite::class) {
useJUnitJupiter(libs.versions.junit5.get()) // or just useJUnitJupiter("5.8.2")
}
}
grossws
04/27/2022, 2:42 AMNorbert Kiesel
04/27/2022, 4:49 AMtoml
file seems the right approach.
Split messages: I thought of this as 2 separate questions, not a follow-up. But I for sure will follow your advice.