deps_versions.gradle 3.0 KB

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