build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. applicationId "com.taiyi.usbmaidemo"
  8. minSdk 21
  9. targetSdk 31
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  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. buildFeatures {
  25. viewBinding true
  26. }
  27. }
  28. dependencies {
  29. implementation 'androidx.appcompat:appcompat:1.2.0'
  30. implementation 'com.google.android.material:material:1.3.0'
  31. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  32. implementation 'androidx.navigation:navigation-fragment:2.3.5'
  33. implementation 'androidx.navigation:navigation-ui:2.3.5'
  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.taiyi.sdk.pulse:ble:1.1.0-alpha.01'
  38. implementation 'com.android.volley:volley:1.2.1'
  39. implementation 'com.opencsv:opencsv:5.6'
  40. implementation 'org.greenrobot:eventbus:3.3.1'
  41. implementation 'com.aliyun.dpa:oss-android-sdk:2.9.21'
  42. implementation 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
  43. implementation 'io.reactivex.rxjava2:rxjava:2.1.7'
  44. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  45. implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.41'
  46. }