12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 30
- publishNonDefault true
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 30
- versionCode 5
- versionName "5.0"
- ndk {
- moduleName "facesdk"
- ldLibs "log"
- abiFilters "armeabi-v7a"
- }
- }
- /*
- sourceSets.main {
- jni.srcDirs "src/main/jni"
- jniLibs.srcDir "libs"
- }
- */
- sourceSets.main {
- jni.srcDirs = []
- jniLibs.srcDir "libs"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- buildConfigField 'boolean', 'USE_AIKL', 'true'
- }
- debug {
- debuggable true
- jniDebuggable true
- buildConfigField 'boolean', 'USE_AIKL', 'true'
- }
- }
- }
- dependencies {
- implementation files('libs/liantian.jar')
- compile fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'org.jetbrains:annotations-java5:15.0'
- compile files('libs/orbbec_module-debug.aar')
- implementation files('libs/FaceSDK.jar')
- implementation files('libs/bd_unifylicense.jar')
- }
|