Fixed test dependencies

This commit is contained in:
dankito 2022-02-26 20:23:21 +01:00
parent ef1f987dd1
commit 5e1d045ab9
1 changed files with 15 additions and 1 deletions

View File

@ -88,7 +88,8 @@ kotlin {
commonTest { commonTest {
dependencies { dependencies {
implementation kotlin("test") implementation kotlin("test-common")
implementation kotlin("test-annotations-common")
} }
} }
@ -120,6 +121,15 @@ kotlin {
} }
jvmTest.dependencies {
implementation kotlin("test-junit")
implementation "org.junit.jupiter:junit-jupiter:$junit5Version"
runtimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5Version"
implementation "org.slf4j:slf4j-simple:$slf4jVersion"
}
jsMain { jsMain {
dependencies { dependencies {
@ -127,6 +137,10 @@ kotlin {
} }
} }
jsTest.dependencies {
implementation kotlin("test-js")
}
iosMain { iosMain {
dependencies { dependencies {