build.gradle 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.yanzhenjie.andserver'
  3. android {
  4. compileSdk 30
  5. defaultConfig {
  6. applicationId "com.qingdaofushan.homecaresas"
  7. minSdk 24
  8. targetSdk 30
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. ndk {
  13. abiFilters "armeabi-v7a"
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. }
  27. dependencies {
  28. implementation 'androidx.appcompat:appcompat:1.2.0'
  29. implementation 'com.google.android.material:material:1.3.0'
  30. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  31. implementation 'com.yanzhenjie.andserver:api:2.1.9'
  32. annotationProcessor 'com.yanzhenjie.andserver:processor:2.1.9'
  33. implementation 'com.just.agentweb:agentweb:4.1.4'
  34. implementation 'com.yanzhenjie.apache:httpcore:4.4.14.1'
  35. implementation project(':libWSLive')
  36. // eventbus
  37. implementation 'org.greenrobot:eventbus:3.2.0'
  38. // 权限处理框架
  39. implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
  40. implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
  41. // 解析数据 gson
  42. implementation 'com.google.code.gson:gson:2.8.6'
  43. //必须使用
  44. implementation 'com.lzy.net:okgo:3.0.4'
  45. implementation 'com.lzy.net:okrx2:2.0.2'
  46. implementation 'com.lzy.net:okserver:2.0.5'
  47. implementation 'org.apache.commons:commons-compress:1.18'
  48. implementation 'com.github.jenly1314:zxing-lite:2.1.1'
  49. }