Nikolai
11/09/2018, 6:16 AMmaven { url "<https://dl.bintray.com/kotlin/ktor/>" }
to repositories list.
Then I went through all sourceSets and add:
implementation "io.ktor:ktor-client-core:1.0.0-beta-3"
- for common module
implementation "io.ktor:ktor-client-android:1.0.0-beta-3"
- android
implementation "io.ktor:ktor-client-core-ios:1.0.0-beta-3"
- ios
run “assemble” task of the gradle, everything ok.
After that I add some simple code to common module:
private val client = io.ktor.client.HttpClient()
(btw I didn’t get any autocomplete or suggestions from IDE, but at least after I entered whole line it was ok).
After that I tried to run “assemble” again, but got an error :Zahar
11/09/2018, 7:07 AMimplementation "io.ktor:ktor-client-okhttp:1.0.0-beta-3"
Nikolai
11/09/2018, 8:29 AM