2
0

build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. // buildToolsVersion '26.0.2'
  5. publishNonDefault true
  6. defaultConfig {
  7. minSdkVersion 22
  8. targetSdkVersion 29
  9. versionCode 5
  10. versionName "5.0"
  11. ndk {
  12. moduleName "facesdk"
  13. ldLibs "log"
  14. abiFilters "armeabi-v7a"
  15. }
  16. }
  17. /*
  18. sourceSets.main {
  19. jni.srcDirs "src/main/jni"
  20. jniLibs.srcDir "libs"
  21. }
  22. */
  23. sourceSets.main {
  24. jni.srcDirs = []
  25. jniLibs.srcDir "libs"
  26. }
  27. buildTypes {
  28. // release {
  29. // minifyEnabled false
  30. // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  31. // buildConfigField 'boolean', 'USE_AIKL', 'true'
  32. // }
  33. // debug {
  34. // debuggable true
  35. // jniDebuggable true
  36. // buildConfigField 'boolean', 'USE_AIKL', 'true'
  37. // }
  38. }
  39. namespace 'com.baidu.idl.main.facesdk.facelibrary'
  40. }
  41. dependencies {
  42. compileOnly fileTree(dir:'aar_libs', include: ['*.jar', '*.aar'])
  43. // compile fileTree(include: ['*.jar'], dir: 'libs')
  44. // implementation 'org.jetbrains:annotations-java5:15.0'
  45. // implementation files('libs/orbbec_module-debug.aar')
  46. // implementation files('libs/ImiSDK.aar')
  47. // implementation files('libs/deptrumSDK.aar')
  48. // implementation files('libs/opencv.aar')
  49. // implementation files('libs/FaceSDK_8.2_20240308-release.aar')
  50. api project(":LocalRepo:deptrumSDK")
  51. api project(":LocalRepo:FaceSDK")
  52. api project(":LocalRepo:ImiSDK")
  53. api project(":LocalRepo:opencv")
  54. api project(":LocalRepo:orbbec")
  55. }