Fixed test setup

This commit is contained in:
dankito 2023-07-06 16:52:37 +02:00
parent 5a49c6c465
commit c8a7731ccc
2 changed files with 8 additions and 40 deletions

View File

@ -76,8 +76,7 @@ kotlin {
commonTest {
dependencies {
implementation kotlin("test-common")
implementation kotlin("test-annotations-common")
implementation kotlin("test")
}
}
@ -90,16 +89,10 @@ kotlin {
jvmTest {
dependencies {
implementation "org.assertj:assertj-core:$assertJVersion"
implementation "org.mockito:mockito-core:$mockitoVersion"
// implementation project(":BankingUiCommon")
// implementation project(":BankFinder")
// implementation project(":fints4kBankingClient")
implementation "org.apache.commons:commons-csv:1.8"
implementation "org.slf4j:slf4j-simple:$slf4jVersion"
@ -107,15 +100,6 @@ 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 {
dependencies {
@ -123,10 +107,6 @@ kotlin {
}
}
jsTest.dependencies {
implementation kotlin("test-js")
}
nativeMain {
dependencies {

View File

@ -69,8 +69,7 @@ kotlin {
commonTest {
dependencies {
implementation kotlin("test-common")
implementation kotlin("test-annotations-common")
implementation kotlin("test")
}
}
@ -88,11 +87,6 @@ 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"
}
@ -107,18 +101,6 @@ kotlin {
}
}
jsTest {
dependencies {
implementation kotlin("test-js") // don't know why this dependency is needed here, it's not needed e.g. in fints4k project
}
}
iosMain {
dependencies {
}
}
linuxX64Main {
dependencies {
@ -134,5 +116,11 @@ kotlin {
}
}
appleMain {
dependencies {
}
}
}
}