build.gradle 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. minSdk 21
  8. targetSdk 31
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. sourceSets {
  25. main {
  26. jniLibs.srcDirs = ['libs']
  27. }
  28. }
  29. }
  30. dependencies {
  31. implementation 'com.google.android.material:material:1.3.0'
  32. implementation 'androidx.appcompat:appcompat:1.2.0'
  33. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  34. testImplementation 'junit:junit:4.+'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  37. implementation 'com.github.felHR85:UsbSerial:6.1.0'
  38. api 'com.opencsv:opencsv:5.6'
  39. api 'com.aliyun.dpa:oss-android-sdk:2.9.21'
  40. api 'com.github.PhilJay:MPAndroidChart:v3.1.0'
  41. implementation fileTree(include: ['*.jar'], dir: 'libs')
  42. implementation 'com.android.volley:volley:1.2.1'
  43. api 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
  44. api 'io.reactivex.rxjava2:rxjava:2.1.7'
  45. api 'io.reactivex.rxjava2:rxandroid:2.0.1'
  46. api 'org.greenrobot:eventbus:3.3.1'
  47. api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.41'
  48. implementation 'androidx.work:work-runtime-ktx:2.7.0'
  49. }