https://kotlinlang.org logo
Title
d

Dariusz Kuc

01/13/2021, 2:15 PM
Hello 👋 Anyone else is hitting a problem that Gradle 6.8 cannot resolve platform specific Kotlin module? Trying to bump up Ktor dependencies to 1.5 (from 1.3.1) (https://github.com/ExpediaGroup/graphql-kotlin/pull/1007) What is odd is that if I wipe out my Maven
.m2/repository
it works initially but then it subsequently fails (i.e. only sees
ktor-client-cio
which fails the build as it needs
ktor-client-cio-jvm
). Chain of events (from the linked PR GH build action): • manually wipe out
.m2/repository
and start a build • project A and B are build fine and are able to resolve the
-jvm
artifacts • integration tests kick in for maven and gradle plugins - maven tests work fine - gradle tests (using GradleRunner) fail to resolve
-jvm
artifacts • project A and B cannot be build anymore and are unable to resolve the
-jvm
artifacts Locally • wipe out the
.m2/repository
• build project A or B from command line using Gradle wrapper - works fine • reload project in IDEA (which uses Gradle wrapper) -> cannot resolve the
-jvm
artifacts
note: downgrading Ktor back to previous version (
1.3.1
) in the above PR works fine