diff --git a/FinTs4jBankingClient/build.gradle.kts b/FinTs4jBankingClient/build.gradle.kts index b887b157..cccc2098 100644 --- a/FinTs4jBankingClient/build.gradle.kts +++ b/FinTs4jBankingClient/build.gradle.kts @@ -34,48 +34,49 @@ kotlin { } } -// js { -// moduleName = "fints4k-banking-client" -// binaries.executable() -// -// browser { -// testTask { -// useKarma { -// useChromeHeadless() -// useFirefoxHeadless() -// } -// } -// } -// -// nodejs { -// testTask { -// useMocha { -// timeout = "20s" // Mocha times out after 2 s, which is too short for bufferExceeded() test -// } -// } -// } -// } -// + js { + moduleName = "fints4k-banking-client" + binaries.executable() + + browser { + testTask { + useKarma { + useChromeHeadless() + useFirefoxHeadless() + } + } + } + + nodejs { + testTask { + useMocha { + timeout = "20s" // Mocha times out after 2 s, which is too short for bufferExceeded() test + } + } + } + } + // wasmJs() -// -// -// linuxX64() -// mingwX64() -// -// iosArm64() -// iosSimulatorArm64() -// macosX64() -// macosArm64() -// watchosArm64() -// watchosSimulatorArm64() -// tvosArm64() -// tvosSimulatorArm64() + + + linuxX64() + mingwX64() + + iosArm64() + iosSimulatorArm64() + macosX64() + macosArm64() + watchosArm64() + watchosSimulatorArm64() + tvosArm64() + tvosSimulatorArm64() applyDefaultHierarchyTemplate() val coroutinesVersion: String by project + val kotlinxDateTimeVersion: String by project sourceSets { commonMain { @@ -84,7 +85,7 @@ kotlin { api("net.codinux.banking:fints4k:1.0.0-Alpha-10") -// implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion") + api("org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDateTimeVersion") } } commonTest { @@ -97,7 +98,7 @@ kotlin { jvmMain { dependencies { -// implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:$coroutinesVersion") + } } jvmTest { @@ -106,15 +107,15 @@ kotlin { } } -// jsMain { -// dependencies { -//// implementation(npm("@js-joda/timezone", "2.3.0")) -// } -// } -// jsTest { } -// -// nativeMain { } -// nativeTest { } + jsMain { + dependencies { + + } + } + jsTest { } + + nativeMain { } + nativeTest { } } }