build.gradle 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.yanzhenjie.andserver'
  3. android {
  4. compileSdk 29
  5. defaultConfig {
  6. applicationId "com.qingdaofushan.home"
  7. minSdk 24
  8. targetSdk 29
  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. // eventbus
  36. implementation 'org.greenrobot:eventbus:3.2.0'
  37. // 权限请求框架:https://github.com/getActivity/XXPermissions
  38. implementation 'com.github.getActivity:XXPermissions:12.0'
  39. implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
  40. // 解析数据 gson
  41. implementation 'com.google.code.gson:gson:2.8.6'
  42. //必须使用
  43. implementation 'com.lzy.net:okgo:3.0.4'
  44. implementation 'com.lzy.net:okrx2:2.0.2'
  45. implementation 'com.lzy.net:okserver:2.0.5'
  46. implementation 'org.apache.commons:commons-compress:1.18'
  47. // implementation 'com.github.jenly1314:zxing-lite:2.1.1'
  48. implementation 'com.github.kongzue.DialogX:DialogX:0.0.40'
  49. implementation 'com.google.zxing:core:3.3.0'
  50. }