1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 30
- // buildToolsVersion '26.0.2'
- publishNonDefault true
- defaultConfig {
- minSdkVersion 21
- 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')
- }
|