Skip to content

Instantly share code, notes, and snippets.

@sudeshim3
Last active July 7, 2019 13:40
Show Gist options
  • Save sudeshim3/c16e1a9484991f407a4eb460cabffe33 to your computer and use it in GitHub Desktop.
Save sudeshim3/c16e1a9484991f407a4eb460cabffe33 to your computer and use it in GitHub Desktop.
implementation "io.reactivex.rxjava2:rxjava:2.2.9" //RxJava
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1' //RxAndroid
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0' //kotlin coroutines
//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.5.0' //retrofit
implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion" //retrofit gson converter.
implementation 'com.google.code.gson:gson:2.8.5' //gson
implementation 'joda-time:joda-time:2.10.2' //joda-time
implementation 'com.jakewharton.timber:timber:4.7.1' //timber
implementation 'com.squareup.picasso:picasso:2.71828' //picasso
implementation "com.squareup.okhttp3:logging-interceptor:$okhttpInterceptorVersion"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleExtension"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleExtension" //viewModelScope
implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:$coroutineAdapterVersion"
implementation "androidx.paging:paging-runtime:$pagingVersion"
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version"
kapt "androidx.room:room-compiler:$room_version" // use kapt for Kotlin
implementation "com.facebook.fresco:fresco:$frescoVersion"
implementation "com.mikhaellopez:circularimageview:$circularImageViewVersion"
implementation "com.jakewharton.timber:timber:$timberVersion"
implementation "joda-time:joda-time:$jodaVersion"
// Dagger
implementation "com.google.dagger:dagger:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
compileOnly 'javax.annotation:javax.annotation-api:1.3.2'
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
/*
ext.kotlin_version = '1.3.31'
ext.daggerVersion = '2.22.1'
ext.lifecycleExtension = '2.2.0-alpha01'
ext.frescoVersion = "1.13.0"
ext.retrofitVersion = "2.5.0"
ext.gsonVersion = "2.8.5"
ext.room_version = '2.1.0-beta01'
ext.coroutineAdapterVersion = "0.9.2"
ext.okhttpInterceptorVersion = "3.11.0"
ext.circularImageViewVersion = "3.2.0"
ext.timberVersion = "4.7.1"
ext.jodaVersion = "2.10.2"
ext.pagingVersion = "2.1.0"
*/
//dagger compileOnly https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment