deps_versions.gradle 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ext {
  2. daggerVersion = '2.25.2'
  3. roomVersion = '2.1.0'
  4. navigationVersion = '2.3.0'
  5. timberVersion = '4.7.1'
  6. retrofitVersion = '2.6.1'
  7. gsonVersion = '2.8.2'
  8. okhttpVersion = '3.10.0'
  9. constraintlayoutVersion = '1.1.3'
  10. cardviewVersion = '1.0.0'
  11. recyclerviewViersion = '1.2.0-alpha05'
  12. materialVersion = '1.2.1'
  13. lifecycleVersion = '2.3.0-alpha07'
  14. junitVersion = "4.12"
  15. mockitoCoreVersion = "2.28.2"
  16. kotlinxCoroutinesTestVersion = "1.3.1"
  17. junitInstrumentalVersion = "1.1.1"
  18. espressoCoreVersion = "3.2.0"
  19. legacySupportVersion = "1.0.0"
  20. appCompatVersion = "1.2.0"
  21. androidxCoreVersion = "1.3.1"
  22. robolectricVersion = "4.4"
  23. androidXCoreTest = "2.1.0"
  24. // DI
  25. dagger = "com.google.dagger:dagger:$daggerVersion"
  26. daggerCompiler = "com.google.dagger:dagger-compiler:$daggerVersion"
  27. // Room
  28. room = "androidx.room:room-runtime:$roomVersion"
  29. roomKtx = "androidx.room:room-ktx:$roomVersion"
  30. roomCompiler = "androidx.room:room-compiler:$roomVersion"
  31. // Navigation
  32. navigationFragment = "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
  33. navigationUi = "androidx.navigation:navigation-ui-ktx:$navigationVersion"
  34. // Dynamic Feature Module Support
  35. navigationDynamicFeatures = "androidx.navigation:navigation-dynamic-features-fragment:$navigationVersion"
  36. // Logging
  37. timber = "com.jakewharton.timber:timber:$timberVersion"
  38. // Networking
  39. gson = "com.google.code.gson:gson:$gsonVersion"
  40. retrofit = "com.squareup.retrofit2:retrofit:$retrofitVersion"
  41. converterGson = "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  42. okhttp = "com.squareup.okhttp3:okhttp:$okhttpVersion"
  43. loggingInterceptor = "com.squareup.okhttp3:logging-interceptor:$okhttpVersion"
  44. // UI
  45. constraintlayout = "androidx.constraintlayout:constraintlayout:$constraintlayoutVersion"
  46. cardview = "androidx.cardview:cardview:$cardviewVersion"
  47. recyclerview = "androidx.recyclerview:recyclerview:$recyclerviewViersion"
  48. material = "com.google.android.material:material:$materialVersion"
  49. // Livecycle
  50. lifecycleExtensions = "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
  51. lifecycleLivedata = "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
  52. lifecycleViewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
  53. // Testing
  54. junit = "junit:junit:$junitVersion"
  55. mockitoCore = "org.mockito:mockito-core:$mockitoCoreVersion"
  56. kotlinxCoroutinesTest = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinxCoroutinesTestVersion"
  57. junitInstrumental = "androidx.test.ext:junit:$junitInstrumentalVersion"
  58. espressoCore = "androidx.test.espresso:espresso-core:$espressoCoreVersion"
  59. robolectric = "org.robolectric:robolectric:$robolectricVersion"
  60. androidXCoreTest = "androidx.arch.core:core-testing:$androidXCoreTest"
  61. // Support Library AndroidX
  62. legacySupport = "androidx.legacy:legacy-support-v4:$legacySupportVersion"
  63. appCompat = "androidx.appcompat:appcompat:$appCompatVersion"
  64. androidxCore = "androidx.core:core-ktx:$androidxCoreVersion"
  65. // Kotlin
  66. kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  67. }