deps_versions.gradle 3.6 KB

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