apollo upgrade to version 3

This commit is contained in:
Johannes Schmelz 2021-12-20 08:44:27 +01:00
parent 1885ba5477
commit 845c969c46

View File

@ -1,8 +1,10 @@
plugins {
id 'com.android.application'
id 'kotlin-android'
id("com.apollographql.apollo3").version("3.0.0")
}
android {
compileSdk 31
@ -34,6 +36,12 @@ android {
}
}
apollo {
packageName.set("org.ddnss.sfs.git.wdg.noise")
}
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
@ -72,12 +80,9 @@ dependencies {
}
dependencies {
def apollo_version = "2.5.11"
// The core runtime dependencies
implementation("com.apollographql.apollo:apollo-runtime:$apollo_version")
// Coroutines extensions for easier asynchronicity handling
implementation("com.apollographql.apollo:apollo-coroutines-support:$apollo_version")
// ...
implementation("com.apollographql.apollo3:apollo-runtime:3.0.0")
}