build.gradle 919 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (C) 2017 Baidu, Inc. All Rights Reserved.
  3. */
  4. apply plugin: 'com.android.library'
  5. android {
  6. compileSdkVersion 30
  7. buildToolsVersion '28.0.2'
  8. defaultConfig {
  9. minSdkVersion 16
  10. targetSdkVersion 26
  11. versionCode 1
  12. versionName "1.0"
  13. ndk{
  14. abiFilters 'armeabi-v7a'
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  21. }
  22. debug {
  23. debuggable = true
  24. jniDebuggable = true
  25. }
  26. }
  27. // externalNativeBuild {
  28. // cmake {
  29. // path "CMakeLists.txt"
  30. // }
  31. // }
  32. }
  33. dependencies {
  34. api fileTree(dir: 'libs', include: ['*.jar'])
  35. api files('libs/facesdk.jar')
  36. api files('libs/baidu_license.jar')
  37. api 'androidx.appcompat:appcompat:1.0.0'
  38. }