apply plugin: 'com.android.library' android { namespace 'com.baidu.idl.main.facesdk.registerlibrary' compileSdkVersion 34 defaultConfig { minSdkVersion 22 targetSdkVersion 34 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } packagingOptions { pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation libs.appcompat implementation libs.material testImplementation libs.junit androidTestImplementation libs.ext.junit androidTestImplementation libs.espresso.core //noinspection GradleCompatible // implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.google.code.gson:gson:2.6.2' implementation project(path: ':datalibrary') implementation project(path: ':facelibrary') }