123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- plugins {
- id 'com.android.application'
- }
- android {
- compileSdkVersion 32
- defaultConfig {
- //com.hanghui.facescenic com.telpo.faceSuZhouPark(苏州园林) com.telpo.facenormal(通用单次点击)
- //无锡机场 com.telpo.faceWuXiAirport//横店包名 com.telpo.faceHengDian
- //滕王阁 com.telpo.faceTengWangGe // 瑞金博物馆 com.telpo.faceRJMuseum
- //百年智慧文博 com.telpo.facebainianwenbo //八一博物馆 com.telpo.facebymuseum
- //横店-越龙山景区 com.telpo.faceyuelongshan //湖北图书馆 com.telpo.facehubeilibrary
- applicationId "com.telpo.facenormal"
- minSdkVersion 21
- targetSdkVersion 22
- versionCode 44
- versionName "1.6.27.240701"
- multiDexEnabled true
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- ndk {
- abiFilters 'armeabi-v7a' //只生成armv7的so
- }
- }
- lintOptions {
- checkReleaseBuilds false
- abortOnError false
- }
- dexOptions {
- javaMaxHeapSize "4g"
- }
- sourceSets {
- main {
- manifest.srcFile 'src/main/AndroidManifest.xml'
- java.srcDirs = ['src/main/java', 'src/main/aidl']
- resources.srcDirs = ['src/main/java', 'src/main/aidl']
- aidl.srcDirs = ['src/main/aidl']
- res.srcDirs = ['src/main/res']
- assets.srcDirs = ['src/main/assets']
- }
- }
- signingConfigs {
- config1 {
- // keyAlias 'facescenic1'
- // keyPassword '123456'
- // storeFile file("facescenic.jks")
- // storePassword '123456'
- keyAlias 'telpo'
- keyPassword '123456'
- storeFile file("sign.jks")
- storePassword '123456'
- }
- }
- buildTypes {
- release {
- debuggable true //false代表关闭
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.config1
- }
- debug{
- debuggable true //true代表显示
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.config1
- }
- }
- repositories {
- flatDir {
- dirs 'libs'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
- implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'//1.1.0
- implementation 'com.google.android.material:material:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation files('libs\\PosUtil.jar')
- // implementation files('libs\\telpo_sdk_20231110.jar')
- implementation files('libs\\RocoApiManager.jar')
- implementation 'com.google.android:support-v4:r7'
- implementation files('libs\\telpo_api.jar')
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
- implementation 'com.alibaba:fastjson:1.1.55.android'
- implementation project(':SeriaApp')
- implementation project(':qrCode')
- implementation project(':MultiReaderLib')
- implementation project(':idCard')
- //日志拦截器
- implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
- //only Retrofit(只用Retrofit联网)!!
- implementation 'com.facebook.fresco:fresco:2.3.0'
- implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
- implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
- //Rxjava and Retrofit(Retrofit+Rx需要添加的依赖)
- implementation 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
- implementation 'io.reactivex:rxandroid:1.2.1'
- implementation 'io.reactivex:rxjava:1.2.1'
- //retrofit
- implementation 'com.squareup.retrofit2:retrofit:2.3.0'
- implementation 'com.squareup.retrofit2:adapter-rxjava:2.0.2'
- implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
- //Rxjava
- implementation 'io.reactivex:rxandroid:1.2.1'
- implementation 'io.reactivex:rxjava:1.3.0'
- implementation 'com.hwangjr.rxbus:rxbus:1.0.6'
- //EventBus
- implementation 'org.greenrobot:eventbus:3.1.1'
- implementation 'com.android.support:multidex:1.0.3'
- //串口通信
- implementation 'com.github.felHR85:UsbSerial:4.5.2'
- implementation 'com.alibaba:fastjson:1.1.55.android'
- // Glide
- implementation 'com.github.bumptech.glide:glide:4.12.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
- //串口
- implementation 'com.github.licheedev:Android-SerialPort-API:2.0.0'
- //二维码串口
- implementation 'com.aill:AndroidSerialPort:1.0.8'
- //加载gif图
- implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.1'
- implementation 'com.blankj:utilcodex:1.31.1'
- }
|