Update transitive dependencies of JVM test frameworks in kotlin-test KT-65242, KT-63397
This commit is contained in:
committed by
Space Team
parent
a636f822d0
commit
58c03e021b
@@ -82,9 +82,6 @@ kotlin {
|
||||
val java9CompileOnly = configurations[frameworkJava9SourceSet.compileOnlyConfigurationName]
|
||||
project.dependencies {
|
||||
java9CompileOnly(project)
|
||||
if (framework == JvmTestFramework.TestNG) {
|
||||
java9CompileOnly("org.testng:testng:7.0.0")
|
||||
}
|
||||
}
|
||||
}
|
||||
test.associateWith(getByName("JUnit"))
|
||||
@@ -176,6 +173,7 @@ kotlin {
|
||||
kotlin.srcDir("junit5/src/test/kotlin")
|
||||
dependencies {
|
||||
runtimeOnly(libs.junit.jupiter.engine)
|
||||
runtimeOnly(libs.junit.platform.launcher)
|
||||
}
|
||||
}
|
||||
val jvmTestNG by getting {
|
||||
@@ -183,11 +181,14 @@ kotlin {
|
||||
kotlin.srcDir("testng/src/main/kotlin")
|
||||
resources.srcDir("testng/src/main/resources")
|
||||
dependencies {
|
||||
api("org.testng:testng:6.13.1")
|
||||
api("org.testng:testng:7.0.0")
|
||||
}
|
||||
}
|
||||
val jvmTestNGTest by getting {
|
||||
kotlin.srcDir("testng/src/test/kotlin")
|
||||
dependencies {
|
||||
implementation("org.testng:testng:7.5.1")
|
||||
}
|
||||
}
|
||||
val jsMain by getting {
|
||||
dependsOn(assertionsCommonMain)
|
||||
@@ -363,10 +364,13 @@ configurations {
|
||||
when (framework) {
|
||||
JvmTestFramework.JUnit -> {}
|
||||
JvmTestFramework.JUnit5 -> {
|
||||
apiElements("org.junit.jupiter:junit-jupiter-api:5.6.3")
|
||||
runtimeDeps("org.junit.jupiter:junit-jupiter-engine:5.6.3")
|
||||
apiElements("org.junit.jupiter:junit-jupiter-api:5.10.1")
|
||||
runtimeDeps("org.junit.jupiter:junit-jupiter-engine:5.10.1")
|
||||
runtimeDeps("org.junit.platform:junit-platform-launcher:1.10.1")
|
||||
}
|
||||
JvmTestFramework.TestNG -> {
|
||||
apiElements("org.testng:testng:7.5.1")
|
||||
}
|
||||
JvmTestFramework.TestNG -> {}
|
||||
}
|
||||
}
|
||||
artifacts {
|
||||
|
||||
Reference in New Issue
Block a user