looks like dependency management dsl was changed/b...
# kotlin-native
t
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
):
Copy code
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
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
Probably, client and app should use the same compiler version
I’ll update client soon
👍 1
o
yep, currently there’s no stability of library format between releases
🆗 1
e
http-client-common:
0.1.6
version available https://bintray.com/e5l/http-client-common
t
@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
What is MPP?