build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion rootProject.ext.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion rootProject.ext.minSdkVersion
  6. targetSdkVersion rootProject.ext.targetSdkVersion
  7. versionCode 1
  8. versionName "1.0"
  9. ndk {
  10. moduleName "facesdk"
  11. ldLibs "log"
  12. abiFilters "armeabi","armeabi-v7a" //,"armeabi" //, "arm64-v8a"
  13. }
  14. }
  15. // sourceSets.main {
  16. // jni.srcDirs = []
  17. // jniLibs.srcDir "libs"
  18. // }
  19. sourceSets {
  20. main {
  21. jniLibs.srcDirs = ['libs']
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  28. }
  29. debug {
  30. debuggable true
  31. jniDebuggable true
  32. }
  33. }
  34. }
  35. dependencies {
  36. api fileTree(include: ['*.jar'], dir: 'libs')
  37. // implementation 'com.android.support:appcompat-v7:28.0.0'
  38. // implementation 'com.android.support:recyclerview-v7:28.0.0'
  39. // implementation 'com.google.code.gson:gson:2.8.5'
  40. // implementation 'com.github.bumptech.glide:glide:4.8.0'
  41. api project(':facelibrary')
  42. }