https://kotlinlang.org logo
Title
t

thevery

06/14/2018, 11:53 PM
looks like dependency management dsl was changed/broken in kn-0.7.1+gradle-4.7, sample from
http-client-common
doesn't work anymore after update (
error: unresolved reference: io import io.ktor.common.client.HttpClient
):
konanArtifacts {
    program('app') {
        dependencies {
            artifactapp "io.ktor.common.client:http_client_native:0.1.5"
        }
    }
}
@e5l @olonho could you please check/verify or provide update/workaround?
😮 1
n

napperley

06/15/2018, 1:30 AM
Is Ktor available for Kotlin Native (incl the Server part)? 😍 If so is there documentation on how get started with Ktor via Kotlin Native?
e

e5l

06/15/2018, 4:39 AM
Probably, client and app should use the same compiler version
I’ll update client soon
👍 1
o

olonho

06/15/2018, 6:42 AM
yep, currently there’s no stability of library format between releases
🆗 1
e

e5l

06/15/2018, 6:55 AM
http-client-common:
0.1.6
version available https://bintray.com/e5l/http-client-common
t

thevery

06/15/2018, 11:00 AM
@e5l works now, thank you! could you please also add
enableFeaturePreview('GRADLE_METADATA')
mention to docs since mpp doesn't work without it?
👍 1
n

napperley

06/15/2018, 8:51 PM
What is MPP?