uni_android_plugin_project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2 KiB

  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. // buildToolsVersion '26.0.2'
  5. publishNonDefault true
  6. defaultConfig {
  7. minSdkVersion 16
  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. }
  40. dependencies {
  41. compile fileTree(include: ['*.jar'], dir: 'libs')
  42. implementation 'org.jetbrains:annotations-java5:15.0'
  43. compile files('libs/orbbec_module-debug.aar')
  44. implementation files('libs/FaceSDK-6.0.jar')
  45. implementation files('libs/bd_unifylicense.jar')
  46. }