plugins { id 'com.android.application' id 'kotlin-android' } android { compileSdkVersion 30 buildToolsVersion "30.0.3" aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false defaultConfig { applicationId "com.dy.sy.handlesale" minSdkVersion 21 targetSdkVersion 30 versionCode 3 versionName "1.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { checkReleaseBuilds false } signingConfigs { release { keyAlias 'window' keyPassword '123456' storeFile file('key.jks') storePassword '123456' v2SigningEnabled true } debug { keyAlias 'window' keyPassword '123456' storeFile file('key.jks') storePassword '123456' v2SigningEnabled true } } buildTypes { release { signingConfig signingConfigs.release minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } // compileOptions { // sourceCompatibility JavaVersion.VERSION_1_8 // targetCompatibility JavaVersion.VERSION_1_8 // } kotlinOptions { jvmTarget = '1.8' } // viewBinding { // enabled = true // } buildFeatures { viewBinding = true } // android.enableBuildCache=false } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'androidx.core:core-ktx:1.5.0' implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation project(path: ':core_lib') implementation project(path: ':Camera') // implementation project(path: ':faceplatform-ui') implementation 'androidx.lifecycle:lifecycle-common-java8:2.3.1' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' // RecyclerView适配器 implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-andx-15' // 图片加载 implementation 'com.github.bumptech.glide:glide:4.12.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' //条码二维码扫描 //AndroidX 版本 implementation 'com.github.jenly1314:zxing-lite:2.1.0' //商米打印程序 implementation 'com.sunmi:printerlibrary:1.0.13' implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.tencent.bugly:crashreport:latest.release' implementation project(':cameraui') implementation files('libs/baidu_idcard.jar') implementation files('libs/baidu_easymobile_license.jar') implementation files('libs/bd_unifylicense.jar') implementation files('libs/liantian.jar') //chuck 抓包 debugImplementation 'com.readystatesoftware.chuck:library:1.1.0' releaseImplementation 'com.readystatesoftware.chuck:library-no-op:1.1.0' // api 'com.readystatesoftware.chuck:library:1.1.0' }