From 845c969c46c30e7b0cb5a2fe07f26937d1afbe78 Mon Sep 17 00:00:00 2001 From: peet Date: Mon, 20 Dec 2021 08:44:27 +0100 Subject: [PATCH] apollo upgrade to version 3 --- app/build.gradle | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 339291e..b841fdb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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") } + +