Created
September 23, 2021 11:45
-
-
Save oyeraghib/682538f531939fe3ad0a8d5725902d2c to your computer and use it in GitHub Desktop.
Dependency for using Retrfoit, Moshi with Kotlin Coroutines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Retrofit | |
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | |
implementation "com.squareup.retrofit2:converter-moshi:2.9.0" | |
implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2" | |
// Moshi | |
implementation "com.squareup.moshi:moshi:1.12.0" | |
kapt "com.squareup.moshi:moshi-kotlin-codegen:1.12.0" | |
// Kotlin Coroutines | |
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1' | |
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment