[Build] Split junit-jupiter into api and engine

#KTI-1349 In Progress
This commit is contained in:
Alexander.Likhachev
2023-08-16 17:58:34 +02:00
committed by Space Team
parent 357d12fc8e
commit ef0fb557a5
6 changed files with 7 additions and 10 deletions
@@ -202,7 +202,8 @@ fun Project.testApiJUnit5(
with(dependencies) {
val libsVersionCatalog = libsVersionCatalog
testApi(platform(libsVersionCatalog.findLibrary("junit-bom").orElseThrow { GradleException("No version for `junit-bom`") }))
testApi(libsVersionCatalog.findLibrary("junit-jupyter").orElseThrow { GradleException("No version for `junit-jupyter`") })
testApi(libsVersionCatalog.findLibrary("junit-jupyter-api").orElseThrow { GradleException("No version for `junit-jupyter-api`") })
testRuntimeOnly(libsVersionCatalog.findLibrary("junit-jupyter-engine").orElseThrow { GradleException("No version for `junit-jupyter-engine`") })
if (vintageEngine) {
testRuntimeOnly(
libsVersionCatalog.findLibrary("junit-vintage-engine")