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.
46 lines
1.4 KiB
46 lines
1.4 KiB
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
namespace 'com.baidu.idl.main.facesdk.financelibrary'
|
|
compileSdkVersion 29
|
|
buildToolsVersion "35.0.0"
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 29
|
|
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'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'com.android.support:appcompat-v7:28.0.0'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
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'
|
|
|
|
}
|