Last active
March 23, 2021 10:35
-
-
Save DaChelimo/e9bf2d6a57c9a45ba78c1909ee130146 to your computer and use it in GitHub Desktop.
List of libraries I commonly use (Testing, Networking, Coroutines and Glide libraries)
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
// Moshi | |
implementation "com.squareup.moshi:moshi:1.11.0" | |
implementation "com.squareup.moshi:moshi-kotlin:1.11.0" | |
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.11.0") | |
// Retrofit | |
implementation "com.squareup.retrofit2:retrofit:2.9.0" | |
implementation "com.squareup.retrofit2:converter-moshi:2.6.0" | |
// Coroutines | |
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2" | |
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1" | |
// Glide | |
implementation "com.github.bumptech.glide:glide:4.11.0" | |
// CircleImageView | |
implementation 'de.hdodenhof:circleimageview:3.1.0' | |
// Groupie | |
implementation "com.xwray:groupie:2.8.1" | |
implementation "com.xwray:groupie-databinding:2.8.1" | |
// Timber | |
implementation 'com.jakewharton.timber:timber:4.7.1' | |
// RecyclerView | |
implementation "androidx.recyclerview:recyclerview:1.1.0" | |
// Preferences DataStore | |
//noinspection GradleDependency | |
implementation "androidx.datastore:datastore-preferences:1.0.0-alpha02" | |
// Joda time library for dealing with time | |
implementation "joda-time:joda-time:2.10.6" | |
// WorkManager | |
implementation "android.arch.work:work-runtime-ktx:1.0.1" | |
// Sdp | |
implementation 'com.intuit.sdp:sdp-android:1.0.6' | |
implementation 'com.intuit.ssp:ssp-android:1.0.6' | |
// Okhttp Logging Interceptor | |
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0' | |
// SwipeToRefresh | |
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" | |
// ViewModel | |
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" | |
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.0" | |
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0" | |
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.3.0" | |
// Dependencies for local unit tests | |
debugImplementation "androidx.fragment:fragment-testing:1.3.1" | |
implementation "androidx.test:core:1.3.0" | |
testImplementation "junit:junit:4.13.2" | |
testImplementation "org.hamcrest:hamcrest-all:1.3" | |
testImplementation "androidx.arch.core:core-testing:2.1.0" | |
testImplementation "org.robolectric:robolectric:4.4" | |
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.2.1" | |
// AndroidX Test - JVM testing | |
testImplementation "androidx.test:core-ktx:1.3.0" | |
testImplementation "androidx.test.ext:junit:1.1.2" | |
// AndroidX Test - Instrumented testing | |
androidTestImplementation "androidx.test.ext:junit:1.1.2" | |
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0" | |
androidTestImplementation "androidx.test.espresso:espresso-contrib:3.3.0" | |
androidTestImplementation "androidx.arch.core:core-testing:2.1.0" | |
// Dependencies for Android instrumented unit tests | |
androidTestImplementation "junit:junit:4.13.2" | |
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.2.1" | |
androidTestImplementation "org.mockito:mockito-core:2.19.0" | |
androidTestImplementation "com.linkedin.dexmaker:dexmaker-mockito:2.12.1" | |
implementation "androidx.test.espresso:espresso-idling-resource:3.3.0" | |
// Hilt | |
implementation 'com.google.dagger:hilt-android:2.33-beta' | |
kapt 'com.google.dagger:hilt-compiler:2.33-beta' | |
// Hilt ViewModel | |
implementation "androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03" | |
kapt "androidx.hilt:hilt-compiler:1.0.0-beta01" | |
// For instrumentation tests | |
androidTestImplementation 'com.google.dagger:hilt-android-testing:2.33-beta' | |
kaptAndroidTest 'com.google.dagger:hilt-compiler:2.33-beta' | |
// For local unit tests | |
testImplementation 'com.google.dagger:hilt-android-testing:2.33-beta' | |
kaptTest 'com.google.dagger:hilt-compiler:2.33-beta' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment