build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 27
  4. defaultConfig {
  5. applicationId "com.sunzee.cleanMachine"
  6. minSdkVersion 14
  7. targetSdkVersion 27
  8. versionCode 1
  9. manifestPlaceholders = [
  10. //个推应用参数,请填写您申请的 GETUI_APP_ID,GETUI_APP_KEY,GETUI_APP_SECRET 值
  11. GETUI_APP_ID : "GKa6qa12heALjEXZlAn1U3",
  12. GETUI_APP_KEY : "89WV8dfjRg6RlxEchgmnS6",
  13. GETUI_APP_SECRET: "fLvPjR8hni7VFMkgjh8lx2"
  14. ]
  15. ndk {
  16. // 注意:这里需要添加项目所需 CPU 类型的最小集
  17. abiFilters "armeabi", "armeabi-v7a", "x86_64", "x86"
  18. }
  19. }
  20. }
  21. ext {
  22. androidutilsVersion = '1.0.6'
  23. appcompatVersion = '27.1.0'
  24. butterknifeVersion = '8.4.0'
  25. retrofitVersion = '2.3.0'
  26. logginginterceptor = '3.9.1'
  27. rxjavaVersion = '2.1.11'
  28. rxandroidVersion = "2.0.2"
  29. getuiversion = "2.13.1.0"
  30. designversion = "27.1.1"
  31. constraintlayoutversion = "1.1.3"
  32. eventbusversion = "3.2.0"
  33. }
  34. dependencies {
  35. implementation fileTree(include: ['*.jar'], dir: 'libs')
  36. implementation "com.wuxiaolong.androidutils:androidutils:$androidutilsVersion"
  37. //noinspection GradleCompatible,GradleDependency
  38. implementation "com.android.support:appcompat-v7:$appcompatVersion"
  39. //黄油刀
  40. annotationProcessor "com.jakewharton:butterknife-compiler:$butterknifeVersion"
  41. //retrofit2
  42. implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
  43. implementation "com.squareup.okhttp3:logging-interceptor:$logginginterceptor"
  44. implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  45. implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
  46. //rxjava
  47. implementation "io.reactivex.rxjava2:rxandroid:$rxandroidVersion"
  48. implementation "io.reactivex.rxjava2:rxjava:$rxjavaVersion"
  49. implementation "com.android.support:design:$designversion"
  50. implementation "com.android.support.constraint:constraint-layout:$constraintlayoutversion"
  51. //请将此处的 ${version} 替换成您当前相应的 SDK 版本号,如 2.14.0.0
  52. implementation "com.getui:sdk:$getuiversion"
  53. implementation "org.greenrobot:eventbus:$eventbusversion"
  54. }