apollo-kotlin: Sync fail for SNAPSHOT version 3.0.0-alpha04-20210827.211434-28
Hi!
I have problems with resolving dependencies when syncing.
Version 3.0.0-alpha03
and 3.0.0-alpha04-20210825.183539-26
does not have such problems.
When I switch to version 3.0.0-alpha03, everything is fine. On August 25, the assembly on the snapshot was also assembled without any problems without making changes.
My environment:
object Versions {
const val kotlin = "1.5.30"
const val coroutines = "1.5.1-native-mt"
const val datetime = "0.2.1"
const val ktor = "1.6.3"
const val apollo = "3.0.0-alpha04-SNAPSHOT"
}
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core") {
version { strictly(Versions.coroutines) }
}
Logs:
Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core:{strictly 1.5.1-native-mt}.
Required by:
project :movielist:api-graphql-kp > project :movielist:data > project :utils
Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1.
Required by:
project :movielist:api-graphql-kp > project :api:graphql-kp > project :api:core-graphql > com.apollographql.apollo3:apollo-runtime:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-runtime-iosarm64:3.0.0-alpha04-SNAPSHOT:20210827.211434-28
project :movielist:api-graphql-kp > project :api:graphql-kp > project :api:core-graphql > com.apollographql.apollo3:apollo-runtime:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-runtime-iosarm64:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-mpp-utils:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-mpp-utils-iosarm64:3.0.0-alpha04-SNAPSHOT:20210827.211434-28
Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1.
Required by:
project :movielist:api-graphql-kp > project :api:graphql-kp > project :api:core-graphql > com.apollographql.apollo3:apollo-runtime:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-runtime-iosarm64:3.0.0-alpha04-SNAPSHOT:20210827.211434-28
project :movielist:api-graphql-kp > project :api:graphql-kp > project :api:core-graphql > com.apollographql.apollo3:apollo-runtime:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-runtime-iosarm64:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-mpp-utils:3.0.0-alpha04-SNAPSHOT:20210827.211434-28 > com.apollographql.apollo3:apollo-mpp-utils-iosarm64:3.0.0-alpha04-SNAPSHOT:20210827.211434-28
Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0-native-mt.
Required by:
project :apple-shared > project :api:core-rest > io.ktor:ktor-client-core:1.6.3
project :apple-shared > project :api:core-rest > io.ktor:ktor-client-ios:1.6.3
project :apple-shared > project :api:core-rest > io.ktor:ktor-client-core:1.6.3 > io.ktor:ktor-http:1.6.3
project :apple-shared > project :api:core-rest > io.ktor:ktor-client-core:1.6.3 > io.ktor:ktor-http-cio:1.6.3
project :apple-shared > project :api:core-rest > io.ktor:ktor-client-core:1.6.3 > io.ktor:ktor-http:1.6.3 > io.ktor:ktor-utils:1.6.3
project :apple-shared > project :api:core-rest > io.ktor:ktor-client-core:1.6.3 > io.ktor:ktor-http:1.6.3 > io.ktor:ktor-utils:1.6.3 > io.ktor:ktor-io:1.6.3
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (22 by maintainers)
I think with this in mind it is better to update the documentation: https://www.apollographql.com/docs/android/essentials/get-started-multiplatform/#multithreaded-coroutines