Added Apollo plugin
This commit is contained in:
parent
5eafba0249
commit
b175584ab9
@ -1,6 +1,12 @@
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'kotlin-android'
|
||||
id ("com.apollographql.apollo").version("2.5.9")
|
||||
}
|
||||
|
||||
apollo {
|
||||
// instruct the compiler to generate Kotlin models
|
||||
generateKotlinModels.set(true)
|
||||
}
|
||||
|
||||
android {
|
||||
@ -50,3 +56,11 @@ dependencies {
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// The core runtime dependencies
|
||||
implementation('com.apollographql.apollo:apollo-runtime:2.5.9')
|
||||
// Coroutines extensions for easier asynchronicity handling
|
||||
implementation('com.apollographql.apollo:apollo-coroutines-support:2.5.9')
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user