build.gradle 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.3"
  5. lintOptions {
  6. checkReleaseBuilds false
  7. // Or, if you prefer, you can continue to check for errors in release builds,
  8. // but continue the build even when errors are found:
  9. abortOnError false
  10. }
  11. defaultConfig {
  12. applicationId "com.wisdom.hydroponics"
  13. minSdkVersion 21
  14. targetSdkVersion 30
  15. versionCode 1
  16. versionName "1.0"
  17. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  18. }
  19. buildTypes {
  20. release {
  21. minifyEnabled false
  22. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. buildFeatures {
  26. viewBinding true
  27. }
  28. compileOptions {
  29. sourceCompatibility JavaVersion.VERSION_1_8
  30. targetCompatibility JavaVersion.VERSION_1_8
  31. }
  32. }
  33. dependencies {
  34. implementation fileTree(dir: "libs", include: ["*.jar"])
  35. implementation 'androidx.appcompat:appcompat:1.1.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  37. implementation project(path: ':esptouch-v2')
  38. implementation project(path: ':esptouch')
  39. testImplementation 'junit:junit:4.12'
  40. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  41. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  42. // implementation 'com.rairmmd:andesptouch:1.0.5'ww
  43. compile 'com.android.support:multidex:1.0.3'
  44. //图片
  45. implementation 'com.github.bumptech.glide:glide:4.7.1'
  46. //网络请求
  47. implementation 'com.squareup.okhttp3:okhttp:3.4.1'
  48. implementation 'com.squareup.okio:okio:1.12.0'
  49. //注释
  50. implementation 'com.jakewharton:butterknife:10.0.0'
  51. annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
  52. //刷新
  53. compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
  54. //状态栏
  55. compile 'com.jaeger.statusbarutil:library:1.4.0'
  56. //photoView
  57. implementation 'com.github.chrisbanes:PhotoView:2.0.0'
  58. //LoadingDialog
  59. compile 'com.github.gittjy:LoadingDialog:1.0.2'
  60. //timePicker
  61. compile 'com.contrarywind:Android-PickerView:4.1.6'
  62. //eventbus
  63. compile 'org.greenrobot:eventbus:3.0.0'
  64. //图片选择器
  65. implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.3'
  66. //吐司
  67. compile 'com.github.johnpersano:supertoasts:2.0'
  68. //扫描二维码
  69. compile 'cn.yipianfengye.android:zxing-library:2.2'
  70. //json工具
  71. implementation 'com.google.code.gson:gson:2.2.4'
  72. }