oxFaceAndroid
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.

54 lines
1.5 KiB

apply plugin: 'com.android.library'
android {
namespace 'com.baidu.idl.main.facesdk.financelibrary'
compileSdkVersion 35
buildToolsVersion "35.0.0"
buildFeatures {
buildConfig true
}
defaultConfig {
minSdkVersion 21
targetSdkVersion 35
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
abortOnError false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation project(path: ':facelibrary')
// 添加对orbbec_module-debug.aar的依赖,通过flatDir方式
implementation(name: 'orbbec_module-debug', ext: 'aar')
// implementation 'me.jessyan:autosize:1.2.1'
implementation 'com.github.JessYanCoding:AndroidAutoSize:v1.2.1'
}