build.gradle 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. applicationId 'com.warewms.gizmo.ware_wms_hailiang'
  6. minSdkVersion 17
  7. targetSdkVersion 28
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. lintOptions {
  19. disable 'GoogleAppIndexingWarning'
  20. }
  21. compileOptions {
  22. sourceCompatibility = '1.8'
  23. targetCompatibility = '1.8'
  24. }
  25. }
  26. dependencies {
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. implementation 'androidx.appcompat:appcompat:1.1.0-alpha04'
  29. implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4'
  30. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  31. testImplementation 'junit:junit:4.12'
  32. androidTestImplementation 'androidx.test:runner:1.2.0-alpha03'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0-alpha03'
  34. implementation 'com.android.support:design:28.0.0'
  35. //ButterKnife
  36. implementation 'com.jakewharton:butterknife:10.1.0'
  37. annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
  38. //RecyclerView
  39. implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha04'
  40. //上拉、下拉刷新 RecyclerView
  41. implementation 'com.jcodecraeer:xrecyclerview:1.5.9'
  42. //广播、事件分发 == iOS通知
  43. implementation 'org.greenrobot:eventbus:3.0.0'
  44. //shape
  45. implementation 'com.noober.background:core:1.3.1'
  46. //隐藏软键盘
  47. implementation 'com.yinglan.keyboard:hidekeyboard:1.2.0'
  48. //各种工具类,api说明http://www.jianshu.com/p/72494773aace
  49. implementation 'com.blankj:utilcode:1.10.0'
  50. //TabBar
  51. implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
  52. //轮播图
  53. implementation 'com.youth.banner:banner:1.4.10'
  54. //Glide图片加载器
  55. implementation 'com.github.bumptech.glide:glide:3.7.0'
  56. //Honeywell扫码SDK
  57. implementation project(path: ':DataCollectionLib')
  58. //Excel
  59. implementation 'com.github.huangyanbin:SmartTable:2.2.0'
  60. //Retrofit+rxKotlin+autoDispose
  61. implementation 'com.squareup.retrofit2:retrofit:2.5.0'
  62. implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
  63. implementation 'com.squareup.retrofit2:converter-scalars:2.5.0'
  64. implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
  65. implementation 'com.squareup.okhttp3:okhttp:3.12.2'
  66. implementation 'com.squareup.okhttp3:logging-interceptor:3.12.2'
  67. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  68. implementation 'io.reactivex.rxjava2:rxjava:2.2.9'
  69. implementation 'com.uber.autodispose:autodispose-android-archcomponents:1.3.0'
  70. //WebSocket
  71. implementation "org.java-websocket:Java-WebSocket:1.4.0"
  72. //年月日时分
  73. implementation 'com.bigkoo:pickerview:2.1.1'
  74. }