deps_versions.gradle 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. androidXCoreTestVersion = "2.1.0"
  24. androidXTestVersion = "1.1.0"
  25. // DI
  26. dagger = "com.google.dagger:dagger:$daggerVersion"
  27. daggerCompiler = "com.google.dagger:dagger-compiler:$daggerVersion"
  28. // Room
  29. room = "androidx.room:room-runtime:$roomVersion"
  30. roomKtx = "androidx.room:room-ktx:$roomVersion"
  31. roomCompiler = "androidx.room:room-compiler:$roomVersion"
  32. // Navigation
  33. navigationFragment = "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
  34. navigationUi = "androidx.navigation:navigation-ui-ktx:$navigationVersion"
  35. // Dynamic Feature Module Support
  36. navigationDynamicFeatures = "androidx.navigation:navigation-dynamic-features-fragment:$navigationVersion"
  37. // Logging
  38. timber = "com.jakewharton.timber:timber:$timberVersion"
  39. // Networking
  40. gson = "com.google.code.gson:gson:$gsonVersion"
  41. retrofit = "com.squareup.retrofit2:retrofit:$retrofitVersion"
  42. converterGson = "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  43. okhttp = "com.squareup.okhttp3:okhttp:$okhttpVersion"
  44. loggingInterceptor = "com.squareup.okhttp3:logging-interceptor:$okhttpVersion"
  45. // UI
  46. constraintlayout = "androidx.constraintlayout:constraintlayout:$constraintlayoutVersion"
  47. cardview = "androidx.cardview:cardview:$cardviewVersion"
  48. recyclerview = "androidx.recyclerview:recyclerview:$recyclerviewViersion"
  49. material = "com.google.android.material:material:$materialVersion"
  50. // Livecycle
  51. lifecycleExtensions = "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
  52. lifecycleLivedata = "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
  53. lifecycleViewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
  54. // Testing
  55. junit = "junit:junit:$junitVersion"
  56. mockitoCore = "org.mockito:mockito-core:$mockitoCoreVersion"
  57. kotlinxCoroutinesTest = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$kotlinxCoroutinesTestVersion"
  58. junitInstrumental = "androidx.test.ext:junit:$junitInstrumentalVersion"
  59. espressoCore = "androidx.test.espresso:espresso-core:$espressoCoreVersion"
  60. androidXRunnerTest = "androidx.test:runner:$androidXTestVersion"
  61. androidXRulesTest = "androidx.test:rules:$androidXTestVersion"
  62. robolectric = "org.robolectric:robolectric:$robolectricVersion"
  63. androidXCoreTest = "androidx.arch.core:core-testing:$androidXCoreTestVersion"
  64. androidXFragmentTest = "androidx.fragment:fragment-testing:$androidXTestVersion"
  65. // Support Library AndroidX
  66. legacySupport = "androidx.legacy:legacy-support-v4:$legacySupportVersion"
  67. appCompat = "androidx.appcompat:appcompat:$appCompatVersion"
  68. androidxCore = "androidx.core:core-ktx:$androidxCoreVersion"
  69. // Kotlin
  70. kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  71. }