123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- plugins {
- id 'com.android.application'
- }
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- applicationId "com.capinfo.orderingsystem"
- minSdkVersion 24
- targetSdkVersion 29
- versionCode 17
- versionName "1.17"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- ndk {
- moduleName "facesdk"
- ldLibs "log"
- abiFilters "armeabi-v7a" // "armeabi", "x86", "arm64-v8a"
- }
- }
- signingConfigs {
- release {
- keyAlias 'orderSystem'
- keyPassword 'capinfo@123'
- storeFile file('hollysmart.keystore')
- storePassword 'cai880314'
- }
- debug {
- keyAlias 'orderSystem'
- keyPassword 'capinfo@123'
- storeFile file('hollysmart.keystore')
- storePassword 'cai880314'
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- signingConfig signingConfigs.release
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- debug {
- minifyEnabled false
- signingConfig signingConfigs.debug
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- android.applicationVariants.all { variant ->
- variant.outputs.all { output ->
- outputFileName = "OrderSystem-QCG" + "-v" + defaultConfig.versionName + "-" + defaultConfig.versionCode + ".apk"
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'com.google.android.material:material:1.2.1'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- implementation 'com.google.code.gson:gson:2.8.6'
- //cai 新增okGo
- api 'com.lzy.net:okgo:3.0.4'
- implementation 'com.zhy:okhttputils:2.6.2'
- //glide图片处理
- implementation 'com.github.bumptech.glide:glide:4.8.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
- //工具类
- api 'com.blankj:utilcodex:1.31.1'
- implementation 'com.elvishew:xlog:1.11.0'
- //eventBus
- implementation 'org.greenrobot:eventbus:3.1.1'
- //分包
- implementation 'com.android.support:multidex:1.0.3'
- //百度人脸识别核心库
- implementation project(':facelibrary')
- //百度人脸识别人脸管理库
- implementation project(':datalibrary')
- //串口
- implementation 'com.github.licheedev:Android-SerialPort-API:2.0.0'
- }
- configurations {
- cleanedAnnotations
- compile.exclude group: 'org.jetbrains', module: 'annotations'
- }
|