build.gradle 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. dataBinding {
  5. enabled = true
  6. }
  7. defaultConfig {
  8. applicationId "mtp.polymer.com"
  9. minSdkVersion 22
  10. targetSdkVersion 26
  11. versionCode 50105
  12. versionName "5.0.105"
  13. multiDexEnabled true
  14. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. //Add the following configuration
  27. lintOptions {
  28. checkReleaseBuilds false
  29. abortOnError false
  30. }
  31. }
  32. dependencies {
  33. implementation fileTree(include: ['*.jar'], dir: 'libs')
  34. // implementation 'pub.devrel:easypermissions:0.4.0'
  35. implementation 'com.android.support:appcompat-v7:26.1.0'
  36. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
  37. implementation 'com.android.support:design:26.1.0'
  38. implementation 'com.android.support:multidex:1.0.1'
  39. implementation 'com.android.support:support-v4:26.1.0'
  40. testImplementation 'junit:junit:4.12'
  41. implementation 'com.zhy:okhttputils:2.6.2'
  42. //妫�娴嬪唴瀛樻硠婕�
  43. debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.3'
  44. releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.3'
  45. // Optional, if you use support library fragments:
  46. debugImplementation 'com.squareup.leakcanary:leakcanary-support-fragment:1.6.3'
  47. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  48. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  49. implementation files('libs/core-3.3.4-SNAPSHOT.jar')
  50. // //鍥剧墖鍔犺浇鎺у埗鍣�
  51. implementation files('libs/glide-full-4.7.0.jar')
  52. implementation files('libs/easypermissions-release.aar')
  53. implementation files('libs/MPChartLib-release.aar')
  54. // http璇锋眰 鏇挎崲 okhttputils
  55. // implementation files('libs/retrofit-2.4.0.jar')
  56. implementation project(':businesslayer')
  57. implementation project(':netcore')
  58. implementation project(':common')
  59. implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
  60. implementation 'com.alibaba:fastjson:1.1.56.android'
  61. // implementation files('libs/alipaySdk-20170922.jar')
  62. // implementation files('libs/alipaySdk-15.5.7-20181023110917.aar')
  63. implementation files('libs/alipaySdk-20170922.jar')
  64. implementation files('libs/alipaySdk-20170922.jar')
  65. // implementation files('libs/alipay-sdk-java-3.4.27.ALL.jar')
  66. implementation 'com.youth.banner:banner:1.4.9'
  67. implementation "com.android.support:cardview-v7:25.2.0"
  68. implementation "com.github.gongbox:fss_run_priority:$fss_version"
  69. // implementation "com.github.gongbox:fss_bind:$fss_version"
  70. implementation "com.github.gongbox:fss_adapter:$fss_version"
  71. // implementation "com.github.gongbox:fss_all:$fss_version"
  72. implementation 'com.squareup.okhttp3:okhttp:3.8.0'
  73. implementation 'com.squareup.okio:okio:1.12.0'
  74. annotationProcessor 'com.android.databinding:compiler:3.1.4'
  75. implementation 'android.arch.lifecycle:viewmodel:1.1.1'
  76. //rxjava
  77. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  78. implementation 'io.reactivex.rxjava2:rxjava:2.1.5'
  79. //防止rxjava 持有activity 或 fragment对象 导致内存泄漏
  80. implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.1'
  81. implementation 'com.trello.rxlifecycle2:rxlifecycle-android:2.2.1'
  82. implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.1'
  83. //侧滑删除
  84. implementation 'com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.1'
  85. //rxbinding
  86. implementation 'com.jakewharton.rxbinding3:rxbinding:3.0.0'
  87. }