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
52 lines
1.2 KiB
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
// buildToolsVersion '26.0.2'
|
|
publishNonDefault true
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 29
|
|
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 {
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'org.jetbrains:annotations-java5:15.0'
|
|
compile files('libs/orbbec_module-debug.aar')
|
|
implementation files('libs/FaceSDK-6.0.jar')
|
|
implementation files('libs/bd_unifylicense.jar')
|
|
}
|