build.gradle 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.3"
  5. defaultConfig {
  6. applicationId "com.shuoyue.sale_selfish"
  7. minSdkVersion 21
  8. targetSdkVersion 30
  9. versionCode 4
  10. versionName "1.4"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. multiDexEnabled true
  13. javaCompileOptions {
  14. annotationProcessorOptions { includeCompileClasspath = true }
  15. }
  16. ndk {
  17. abiFilter "armeabi-v7a"
  18. }
  19. lintOptions {
  20. checkReleaseBuilds false
  21. // Or, if you prefer, you can continue to check for errors in release builds,
  22. // but continue the build even when errors are found:
  23. abortOnError false
  24. }
  25. }
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  30. }
  31. }
  32. compileOptions {
  33. sourceCompatibility JavaVersion.VERSION_1_8
  34. targetCompatibility JavaVersion.VERSION_1_8
  35. }
  36. packagingOptions {
  37. exclude 'assets/HKZ.bmp'
  38. exclude 'assets/base.dat'
  39. exclude 'assets/HKB.bmp'
  40. }
  41. }
  42. dependencies {
  43. implementation fileTree(dir: 'libs', include: ['*.jar'])
  44. implementation 'androidx.appcompat:appcompat:1.3.0'
  45. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  46. implementation 'com.google.android.material:material:1.2.1'
  47. implementation project(path: ':date_time_picker')
  48. implementation project(path: ':Camera')
  49. testImplementation 'junit:junit:4.12'
  50. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  51. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  52. implementation project(path: ':autosize')
  53. implementation project(path: ':appbase')
  54. implementation project(path: ':commonutils')
  55. implementation project(path: ':appnetwork')
  56. implementation project(path: ':printer')
  57. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
  58. implementation 'com.google.zxing:core:3.3.3'
  59. implementation 'com.solidfire.code.gson:gson:2.6.2'
  60. implementation 'org.greenrobot:eventbus:3.0.0'//
  61. implementation 'com.google.zxing:core:3.3.3'
  62. implementation 'com.youth.banner:banner:1.4.10'
  63. annotationProcessor 'org.projectlombok:lombok:1.18.16'
  64. implementation 'com.tencent.bugly:crashreport:latest.release'
  65. // implementation 'com.decard.mobile:logansdk-utils:3.1.00'
  66. //抖音的播放器
  67. implementation 'com.github.dueeeke.dkplayer:dkplayer-java:3.2.6'
  68. //必选,内部默认使用系统mediaplayer进行解码
  69. implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:3.2.6'
  70. //可选,包含StandardVideoController的实现
  71. implementation 'com.github.dueeeke.dkplayer:player-exo:3.2.6'
  72. }