mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Add runtime dependency on junit-jupiter-engine to kotlin-test-junit5
It is required to run tests authored with kotlin-test, so it seems convenient to have it as a runtime dependency of kotlin-test-junit5 variant. Depend on the version 5.6.0, which is approx. one year old. Can be upgraded in the consumer project if necessary. Also upgrade junit-jupiter-api dependency to 5.6.0, so that users could use more recent JUnit functionality in JVM tests, but continue compiling the artifact against 5.0.0 to leave a possibility to downgrade JUnit platform dependency if needed. KT-45107
This commit is contained in:
@@ -163,7 +163,8 @@ jvmTestFrameworks.forEach { framework ->
|
||||
apiElements("junit:junit:4.12")
|
||||
}
|
||||
"junit5" -> {
|
||||
apiElements("org.junit.jupiter:junit-jupiter-api:5.0.0")
|
||||
apiElements("org.junit.jupiter:junit-jupiter-api:5.6.0")
|
||||
runtimeElements("org.junit.jupiter:junit-jupiter-engine:5.6.0")
|
||||
}
|
||||
"testng" -> {
|
||||
apiElements("org.testng:testng:6.13.1")
|
||||
|
||||
Reference in New Issue
Block a user