config.gradle 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ext {
  2. env = [
  3. jdk_version : JavaVersion.VERSION_1_8,
  4. kotlin_version : "1.5.10",
  5. compileSdkVersion: 29,
  6. buildToolsVersion: '29.0.3',
  7. minSdkVersion : 21,
  8. targetSdkVersion : 28,
  9. applicationId : "com.zhong.inspection",
  10. versionCode : 1,
  11. versionName : "1.0.1-alpha-ch-ns"
  12. ]
  13. test = [
  14. junit : "junit:junit:4.12",
  15. extJunit : "androidx.test.ext:junit:1.1.2",
  16. espressoCore: "androidx.test.espresso:espresso-core:3.3.0",
  17. ]
  18. dep = [
  19. kotlinStdlib : 'org.jetbrains.kotlin:kotlin-stdlib:${env.kotlin_version}',
  20. androidxCoreKtx : 'androidx.core:core-ktx:1.3.1',
  21. androidxAppCompat : 'androidx.appcompat:appcompat:1.2.0',
  22. androidxConstraintlayout : 'androidx.constraintlayout:constraintlayout:2.0.1',
  23. androidMaterial : 'com.google.android.material:material:1.2.1',
  24. androidxLocalbroadcastmanager: 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0',
  25. androidxSwipeRefreshLayout : "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0",
  26. androidMultidex : "com.android.support:multidex:1.0.3",
  27. // kotlinxCoroutinesCore : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7',
  28. kotlinxCoroutinesCore : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0',
  29. kotlinxCoroutinesAndroid : 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1',
  30. okhttp3 : 'com.squareup.okhttp3:okhttp:3.14.9',
  31. okhttp3Logs : 'com.squareup.okhttp3:logging-interceptor:3.14.9',
  32. gson : 'com.google.code.gson:gson:2.8.6',
  33. retrofit : 'com.squareup.retrofit2:retrofit:2.9.0',
  34. converterGson : 'com.squareup.retrofit2:converter-gson:2.9.0',
  35. converterScalars : 'com.squareup.retrofit2:converter-scalars:2.9.0',
  36. rxJavaAdapter : 'com.squareup.retrofit2:adapter-rxjava2:2.9.0',
  37. rxJava : 'io.reactivex.rxjava2:rxjava:2.2.21',
  38. rxAndroid : 'io.reactivex.rxjava2:rxandroid:2.1.1',
  39. rxKotlin : 'io.reactivex.rxjava2:rxandroid:2.4.0',
  40. luban : 'top.zibin:Luban:1.1.8',
  41. RecyclerViewAdapterHelper : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4',
  42. eventbus : 'org.greenrobot:eventbus:3.2.0',
  43. rxpermissions : 'com.github.tbruyelle:rxpermissions:0.11',
  44. glide : 'com.github.bumptech.glide:glide:4.11.0',
  45. buglySDK : 'com.tencent.bugly:crashreport:3.4.4',
  46. buglyNDK : 'com.tencent.bugly:nativecrashreport:3.9.2',
  47. mqttv3 : 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0',
  48. bgaZxing : 'com.github.bingoogolapple.BGAQRCode-Android:zxing:1.3.8',
  49. ]
  50. }