build.gradle 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. plugins {
  2. alias(libs.plugins.androidApplication)
  3. }
  4. android {
  5. namespace 'com.zzyd.jjeface'
  6. compileSdk 34
  7. defaultConfig {
  8. applicationId "com.zzyd.jjeface"
  9. minSdk 24
  10. targetSdk 34
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. buildFeatures {
  26. dataBinding = true
  27. }
  28. packagingOptions {
  29. pickFirst 'lib/x86/libc++_shared.so'
  30. pickFirst 'lib/x86_64/libc++_shared.so'
  31. pickFirst 'lib/armeabi-v7a/libc++_shared.so'
  32. pickFirst 'lib/arm64-v8a/libc++_shared.so'
  33. }
  34. }
  35. dependencies {
  36. /* implementation fileTree(dir:'libs/deptrumSDK.aar', include: ['*.jar', '*.aar'])
  37. implementation fileTree(dir:'libs/ImiSDK.aar', include: ['*.jar', '*.aar'])
  38. implementation fileTree(dir:'libs/orbbec_module-debug.aar', include: ['*.jar', '*.aar'])
  39. implementation fileTree(dir:'libs/FaceSDK_8.1_20230216-release.aar', include: ['*.jar', '*.aar'])
  40. implementation fileTree(dir:'libs/opencv.aar', include: ['*.jar', '*.aar'])
  41. */
  42. implementation libs.appcompat
  43. implementation libs.material
  44. testImplementation libs.junit
  45. androidTestImplementation libs.ext.junit
  46. androidTestImplementation libs.espresso.core
  47. implementation project(':registerlibrary')
  48. implementation project(':speark')
  49. implementation project(':facelibrary')
  50. implementation project(':datalibrary')
  51. implementation project(':settinglibrary')
  52. implementation project(':http')
  53. implementation 'org.java-websocket:Java-WebSocket:1.5.2'
  54. implementation 'com.google.zxing:core:3.3.0'
  55. implementation 'com.lzy.net:okgo:3.0.4'
  56. implementation'com.google.code.gson:gson:2.8.6';
  57. implementation 'org.ligboy.retrofit2:converter-fastjson-android:2.1.0'
  58. //lombok 组件
  59. compileOnly 'org.projectlombok:lombok:1.18.34'
  60. annotationProcessor 'org.projectlombok:lombok:1.18.34'
  61. implementation "io.github.cymchad:BaseRecyclerViewAdapterHelper:3.0.14"
  62. implementation 'com.github.bumptech.glide:glide:4.16.0'
  63. implementation "com.github.bumptech.glide:okhttp3-integration:4.16.0"
  64. annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'
  65. }