build.gradle 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. apply plugin: 'com.android.application'
  2. android {
  3. signingConfigs {
  4. config {
  5. storeFile file('..\\clean.jks')
  6. storePassword '2967076020'
  7. keyAlias 'zeng'
  8. keyPassword '2967076020'
  9. }
  10. }
  11. compileSdkVersion 28
  12. defaultConfig {
  13. applicationId "com.sunzee.cleanMachine"
  14. minSdkVersion 14
  15. targetSdkVersion 28
  16. versionCode 1
  17. versionName "1.0.2"
  18. manifestPlaceholders = [
  19. //个推应用参数,请填写您申请的 GETUI_APP_ID,GETUI_APP_KEY,GETUI_APP_SECRET 值
  20. GETUI_APP_ID : "n4vsaIAi0eAbAkfBfqsUL7",
  21. GETUI_APP_KEY : "iUQlj7YC4c5Zb7CSuwQTP4",
  22. GETUI_APP_SECRET: "fLvPjR8hni7VFMkgjh8lx2"
  23. ]
  24. ndk {
  25. // 注意:这里需要添加项目所需 CPU 类型的最小集
  26. abiFilters "armeabi", "armeabi-v7a", "x86"
  27. }
  28. }
  29. sourceSets {
  30. main {
  31. jniLibs.srcDirs = ['libs']
  32. }
  33. }
  34. buildTypes {
  35. release {
  36. signingConfig signingConfigs.debug
  37. }
  38. }
  39. }
  40. ext {
  41. androidutilsVersion = '1.0.6'
  42. appcompatVersion = '27.1.1'
  43. butterknifeVersion = '8.4.0'
  44. retrofitVersion = '2.3.0'
  45. logginginterceptor = '3.9.1'
  46. rxjavaVersion = '2.1.11'
  47. rxandroidVersion = "2.0.2"
  48. getuiversion = "2.13.1.0"
  49. designversion = "27.1.1"
  50. constraintlayoutversion = "1.1.3"
  51. eventbusversion = "3.2.0"
  52. filedownloader = '1.7.6'
  53. hawkVersion = '2.0.1'
  54. greendaoVersion = '3.2.2'
  55. }
  56. dependencies {
  57. implementation fileTree(include: ['*.jar'], dir: 'libs')
  58. implementation "com.wuxiaolong.androidutils:androidutils:$androidutilsVersion"
  59. //noinspection GradleCompatible,GradleDependency
  60. implementation "com.android.support:appcompat-v7:$appcompatVersion"
  61. //黄油刀
  62. implementation 'com.android.support:appcompat-v7:28.0.0'
  63. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  64. testImplementation 'junit:junit:4.12'
  65. annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion"
  66. //retrofit2
  67. implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
  68. implementation "com.squareup.okhttp3:logging-interceptor:$logginginterceptor"
  69. implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  70. implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
  71. //rxjava
  72. implementation "io.reactivex.rxjava2:rxandroid:$rxandroidVersion"
  73. implementation "io.reactivex.rxjava2:rxjava:$rxjavaVersion"
  74. //noinspection GradleCompatible
  75. implementation "com.android.support:design:$designversion"
  76. implementation "com.android.support.constraint:constraint-layout:$constraintlayoutversion"
  77. //请将此处的 ${version} 替换成您当前相应的 SDK 版本号,如 2.14.0.0
  78. implementation "com.getui:sdk:$getuiversion"
  79. implementation "org.greenrobot:eventbus:$eventbusversion"
  80. implementation project(':serialportlib')
  81. implementation project(path: ':serialport-api')
  82. implementation("com.github.bumptech.glide:glide:4.8.0") {
  83. exclude group: "com.android.support"
  84. }
  85. //noinspection GradleCompatible
  86. implementation "com.android.support:support-fragment:$appcompatVersion"
  87. implementation "com.orhanobut:hawk:$hawkVersion"
  88. implementation "com.liulishuo.filedownloader:library:$filedownloader"
  89. implementation "org.greenrobot:greendao:$greendaoVersion"
  90. // 下面各SDK根据宿主App是否使用相关业务按需引入。
  91. // OAID目前为目前国内市场主流的Android Q设备标识,可根据需要选择。
  92. // 友盟统计SDK
  93. implementation 'com.umeng.umsdk:common:9.1.0' // (必选)
  94. implementation 'com.umeng.umsdk:asms:1.1.3' // asms包依赖(必选)
  95. implementation 'com.umeng.umsdk:crash:0.0.4' // native crash包依赖(必选)
  96. }