Was attempting to test apollo-testing-support:3.1.0
but I keep getting this error building the project.
Execution failed for task ':app:checkApolloVersions'.
> Apollo: All apollo versions should be the same. Found:
[3.0.0, 3.1.0]
I have made sure that any other apollo library that I’m using in the project is also bumped to v3.1.0.
these are the dependencies in my project
dependencies {
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation("com.apollographql.apollo3:apollo-runtime:3.1.0")
implementation("com.apollographql.apollo3:apollo-normalized-cache:3.1.0")
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
// Koin for Android
implementation "io.insert-koin:koin-android:3.1.5"
testImplementation("com.apollographql.apollo3:apollo-testing-support:3.1.0")
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0'
}
I’ve tried cleaning the project and invalidating the cache but I continue to get this error on build.
Any help suggestions would be helpful.