apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { compileSdkVersion 30 buildToolsVersion "30.0.3" defaultConfig { applicationId "com.shuoyue.dysaleticketwindow" minSdkVersion 21 targetSdkVersion 30 versionCode 4 versionName "1.0" multiDexEnabled true javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { abiFilter "armeabi-v7a" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } dataBinding { enabled = true } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } signingConfigs { sign { storeFile file('key.jks') storePassword "123456" keyAlias "window" keyPassword "123456" } debug { storeFile file('key.jks') storePassword "123456" keyAlias "window" keyPassword "123456" } } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } packagingOptions { exclude 'assets/HKZ.bmp' exclude 'assets/base.dat' exclude 'assets/HKB.bmp' pickFirst 'lib/armeabi-v7a/libc++_shared.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' } } repositories { flatDir { dirs 'libs' } } dependencies { // implementation fileTree(include: ['*.aar'], dir: 'aar') // implementation (include: ['*.jar'], dir: 'aars') compile(name: 'externalprinterlibrary-release', ext: 'aar') compile(name:'logansdk-utils-3.1.00',ext:'aar') compile(name:'xcrash-lib-0.0.3',ext:'aar') implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.google.android.material:material:1.2.1' implementation project(path: ':date_time_picker') implementation project(path: ':scan_box_vbar') testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' implementation project(path: ':autosize') implementation project(path: ':appbase') implementation project(path: ':commonutils') implementation project(path: ':appnetwork') annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3' implementation 'com.google.zxing:core:3.3.3' implementation 'com.sunmi:printerlibrary:1.0.13' // implementation 'com.decard.mobile:logansdk-utils:3.1.00' implementation project(path: ':Camera') implementation project(path: ':faceplatform-ui')// // implementation project(path: ':tscprinter') implementation project(path: ':posprintersdk') implementation 'com.tencent.bugly:crashreport:latest.release' //为了防止不必要的依赖冲突,0.0.3开始需要自行依赖google material库 implementation 'com.google.android.material:material:1.1.0' //查看最新版本请前往github,仅支持androidx // implementation 'com.github.loperSeven:DateTimePicker:0.1.0' annotationProcessor 'org.projectlombok:lombok:1.18.16' implementation 'org.greenrobot:eventbus:3.1.1'// }