1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 29
- // buildToolsVersion '26.0.2'
- publishNonDefault true
- defaultConfig {
- minSdkVersion 22
- 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'
- //解决百度人脸sdk导入后build时报错:Duplicate class org.intellij.lang.annotations.Flow found in modules jetified-annotations-15.0
- implementation 'org.jetbrains:annotations:15.0'
- compile files('libs/orbbec_module-debug.aar')
- compile files('libs/ImiSDK.aar')
- compile files('libs/deptrumSDK.aar')
- compile files('libs/opencv.aar')
- compile files('libs/FaceSDK_8.1_20230216-release.aar')
- }
|