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 { plugins {
id 'com.android.application' id 'com.android.application'
id 'kotlin-android' id 'kotlin-android'
id("com.apollographql.apollo3").version("3.0.0")
} }
android { android {
compileSdk 31 compileSdk 31
@ -34,6 +36,12 @@ android {
} }
} }
apollo {
packageName.set("org.ddnss.sfs.git.wdg.noise")
}
dependencies { dependencies {
implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.core:core-ktx:1.7.0'
@ -72,12 +80,9 @@ dependencies {
} }
dependencies { dependencies {
// ...
def apollo_version = "2.5.11" implementation("com.apollographql.apollo3:apollo-runtime:3.0.0")
// 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")
} }