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.
104 lines
3.2 KiB
104 lines
3.2 KiB
plugins {
|
|
id 'com.android.library'
|
|
}
|
|
|
|
android {
|
|
namespace 'io.dcloud.oxplugin'
|
|
|
|
compileSdkVersion 31
|
|
buildToolsVersion "35.0.0"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 31
|
|
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
|
|
|
|
|
|
//阿里detect_body编译
|
|
// sourceCompatibility JavaVersion.VERSION_12
|
|
// targetCompatibility JavaVersion.VERSION_12
|
|
}
|
|
// kotlinOptions {
|
|
// jvmTarget = "15"
|
|
// }
|
|
// 解决资源重复问题
|
|
// packagingOptions {
|
|
// exclude 'lib/arm64-v8a/libc++_shared.so'
|
|
// }
|
|
}
|
|
|
|
dependencies {
|
|
// compileOnly fileTree(dir: 'libs', include: ['*.jar'])
|
|
api fileTree(include: ['*.jar'], dir: 'libs')
|
|
api fileTree(dir: 'libs', include: ['*.aar'])
|
|
implementation project(path: ':datalibrary')
|
|
implementation project(path: ':financelibrary')
|
|
compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar','orbbec_module-debug.aar','picozensesdk-release.aar'])
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
|
compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
|
|
compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
compileOnly 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'com.alibaba:fastjson:1.1.46.android'
|
|
implementation 'com.facebook.fresco:fresco:1.13.0'
|
|
|
|
/*implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'com.google.android.material:material:1.1.0'
|
|
testImplementation 'junit:junit:4.+'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'*/
|
|
|
|
//图片
|
|
compileOnly 'com.github.bumptech.glide:glide:4.11.0'
|
|
|
|
|
|
// implementation 'com.aliyun:tea-openapi:[0.0.1,0.2.8)'
|
|
// https://mvnrepository.com/artifact/com.aliyun/facebody20191230
|
|
// implementation 'com.aliyun:facebody20191230:3.0.7'
|
|
|
|
//0.3.6 Unsupported class file major version 59
|
|
//0.2.9 teaException.getCode(): MissingHeader
|
|
implementation 'com.aliyun:tea-openapi:0.3.6' //0.2.7报错
|
|
|
|
implementation 'com.aliyun:facebody20191230:5.1.2',{
|
|
exclude group: 'xml-apis', module: 'xml-apis'
|
|
exclude group: 'dom4j', module: 'dom4j'
|
|
}
|
|
|
|
//华为扫码
|
|
api "com.huawei.hms:scan:2.12.0.301"
|
|
api "com.huawei.hms:scanplus:2.12.0.301"
|
|
|
|
//人脸SDK
|
|
implementation project(':facelibrary')
|
|
|
|
//硬件串口依赖
|
|
// implementation project(path: ':serialport')
|
|
|
|
// implementation project(':lime-scan')
|
|
|
|
//工具类依赖引入
|
|
implementation 'com.blankj:utilcode:1.30.7'
|
|
|
|
//okhttp网络请求
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
|
|
|
|
// https://mvnrepository.com/artifact/com.aliyun/facebody20191230
|
|
// implementation group: 'com.aliyun', name: 'facebody20191230', version: '3.0.7'
|
|
|
|
}
|