https://kotlinlang.org logo
Title
o

Ovsyannikov Alexey

01/31/2020, 6:57 AM
Hello everybody! Today I have tried to resolve dependency
io.ktor:ktor-client-encoding:1.3.0
in my java-only project, but I got error. After this I have used
io.ktor:ktor-client-encoding-jvm:1.3.0
and it was successfully resolved. Is it known issue? In the jcenter you have redundant jars in package io/ktor/ktor-client-encoding/1.3.0 which, as I understand, must not be included in case if package is multiplatform-oriented
e

e5l

01/31/2020, 11:52 AM
Hi @Ovsyannikov Alexey, could your version of gradle?
o

Ovsyannikov Alexey

01/31/2020, 11:53 AM
Hi, I have used gradle wrapper 6.1.1-all
e

e5l

01/31/2020, 11:54 AM
Could you try it with 5.6.*? It looks like gradle 6.0 breaks metadata compatibility 😞
o

Ovsyannikov Alexey

02/11/2020, 1:50 AM
With 5.6 it is necessary to write something like
ENABLE_GRADLE_METADATA
(i do not remember the key exactly), but it will have the same effect