diff --git a/build.gradle b/build.gradle index 43b3cb13..f651a368 100644 --- a/build.gradle +++ b/build.gradle @@ -41,6 +41,10 @@ allprojects { mavenLocal() mavenCentral() google() + // TODO: remove again as soon as kmp-web-client is released + maven { + url "https://oss.sonatype.org/content/repositories/snapshots/" + } } group 'net.codinux.banking' diff --git a/fints4k/build.gradle b/fints4k/build.gradle index 4b7dc317..3973c6c7 100644 --- a/fints4k/build.gradle +++ b/fints4k/build.gradle @@ -69,7 +69,8 @@ kotlin { implementation "co.touchlab:stately-concurrency:1.2.0" - implementation "io.ktor:ktor-client-core:$ktorVersion" + implementation "io.ktor:ktor-client-core:$ktorVersion" // only left here cause kmp-web-client doesn't expose ktor as api + implementation("net.dankito.web.client:kmp-web-client:1.0.0-SNAPSHOT") } } @@ -83,8 +84,6 @@ kotlin { jvmMain { dependencies { - implementation "io.ktor:ktor-client-okhttp:$ktorVersion" - implementation "org.slf4j:slf4j-api:$slf4jVersion" } } @@ -120,7 +119,7 @@ kotlin { jsMain { dependencies { - implementation "io.ktor:ktor-client-js:$ktorVersion" + } } @@ -129,18 +128,8 @@ kotlin { } - iosMain { - dependencies { - implementation "io.ktor:ktor-client-ios:$ktorVersion" - } - } - - nativeMain { dependencies { - // requires cURL to be installed on your system - implementation "io.ktor:ktor-client-curl:$ktorVersion" - implementation "com.github.ajalt.clikt:clikt:3.4.0" // only needed for writing files to output diff --git a/gradle.properties b/gradle.properties index 089609a8..dcd66d9d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx3072m kotlinVersion=1.8.20 coroutinesVersion=1.7.2 -ktorVersion=2.3.2 +ktorVersion=2.3.1 kotlinxDateTimeVersion=0.4.0 android.useAndroidX=true