Skip to content

Instantly share code, notes, and snippets.

@cdmunoz
Created April 22, 2020 20:52
Show Gist options
  • Select an option

  • Save cdmunoz/aa8c0fd9d0e94e7e09f47c4e35adc17f to your computer and use it in GitHub Desktop.

Select an option

Save cdmunoz/aa8c0fd9d0e94e7e09f47c4e35adc17f to your computer and use it in GitHub Desktop.
New gradle dependencies
def glide_version = "4.9.0"
implementation "com.github.bumptech.glide:glide:$glide_version"
implementation "com.github.bumptech.glide:okhttp3-integration:$glide_version"
kapt "com.github.bumptech.glide:compiler:$glide_version"
def retrofit_version = "2.6.0"
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
def coroutines_version = "1.3.0"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
def view_model_live_data_version = "2.2.0"
implementation "androidx.lifecycle:lifecycle-extensions:$view_model_live_data_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$view_model_live_data_version"
//tests dependencies
testImplementation 'junit:junit:4.12'
def junitExtVersion = "1.1.1"
androidTestImplementation "androidx.test.ext:junit:$junitExtVersion"
androidTestImplementation "androidx.test.ext:junit-ktx:$junitExtVersion"
def espressoVersion = "3.2.0"
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
implementation "androidx.test.espresso:espresso-idling-resource:$espressoVersion"
def testCoreKtx = "1.2.0"
androidTestImplementation "androidx.test:core-ktx:$testCoreKtx"
def testRulesVersion = "1.2.0"
androidTestImplementation "androidx.test:rules:$testRulesVersion"
def fragmentVersion = "1.2.4"
debugImplementation "androidx.fragment:fragment-testing:$fragmentVersion"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment