dependencies-variable.gradle 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * Created by aaron on 2020-03-26
  3. */
  4. ext {
  5. android = '3.3.0'
  6. kotlin = '1.3.10'
  7. android_legacy = '27.1.1'
  8. constraintlayout = '1.1.3'
  9. koin = '2.1.5'
  10. ted_permission = '2.2.3'
  11. retrofit2 = '2.8.1'
  12. okhttp = '4.4.0'
  13. gson = '2.8.6'
  14. rxkotlin = '2.4.0'
  15. rxandroid = '2.1.1'
  16. glide = '3.7.0'
  17. junit = '4.12'
  18. android_runner = '1.0.2'
  19. espresso_core = '3.0.2'
  20. }
  21. ext.dependencies = [
  22. classpath : [
  23. android : "com.android.tools.build:gradle:$ext.android",
  24. kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$ext.kotlin",
  25. koin : "org.koin:koin-gradle-plugin:$ext.koin"
  26. ],
  27. library : [
  28. kotlin_stdlib : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$ext.kotlin",
  29. kotlin_databinding : "com.android.databinding:compiler:$ext.android",
  30. appcompat : "com.android.support:appcompat-v7:$ext.android_legacy",
  31. recyclerview : "com.android.support:recyclerview-v7:$ext.android_legacy",
  32. constraintlayout : "com.android.support.constraint:constraint-layout:$ext.constraintlayout",
  33. koin_scope : "org.koin:koin-android-scope:$ext.koin",
  34. koin_viewmodel : "org.koin:koin-android-viewmodel:$ext.koin",
  35. koin_ext : "org.koin:koin-android-ext:$ext.koin",
  36. ted_permission : "gun0912.ted:tedpermission-rx2:$ext.ted_permission",
  37. retrofit2_runtime : "com.squareup.retrofit2:retrofit:$ext.retrofit2",
  38. retrofit2_rxadapter : "com.squareup.retrofit2:adapter-rxjava2:$ext.retrofit2",
  39. retrofit2_gson : "com.squareup.retrofit2:converter-gson:$ext.retrofit2",
  40. okhttp : "com.squareup.okhttp3:okhttp:$ext.okhttp",
  41. okhttp_interceptor : "com.squareup.okhttp3:logging-interceptor:$ext.okhttp",
  42. gson : "com.google.code.gson:gson:$ext.gson",
  43. rxkotlin : "io.reactivex.rxjava2:rxkotlin:$ext.rxkotlin",
  44. rxandroid : "io.reactivex.rxjava2:rxandroid:$ext.rxandroid",
  45. glide : "com.github.bumptech.glide:glide:$ext.glide",
  46. ],
  47. test : [
  48. junit : "junit:junit:$ext.junit",
  49. android_runner : "com.android.support.test:runner:$ext.android_runner",
  50. espresso_core : "com.android.support.test.espresso:espresso-core:$ext.espresso_core"
  51. ]
  52. ]