Skip to content

Instantly share code, notes, and snippets.

@andijakl
Created January 24, 2019 18:53
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andijakl/5c65b795f68b48e891403ae7c201f8dc to your computer and use it in GitHub Desktop.
Save andijakl/5c65b795f68b48e891403ae7c201f8dc to your computer and use it in GitHub Desktop.
Dependencies for using Retrofit, Moshi and Kotlin Coroutines
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation "com.squareup.retrofit2:converter-moshi:2.5.0"
implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2"
// Moshi
implementation "com.squareup.moshi:moshi:1.8.0"
kapt "com.squareup.moshi:moshi-kotlin-codegen:1.8.0"
// Kotlin Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.0'
@Chandra-Sekhar-Bala
Copy link

Well, still thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment