plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' } android { namespace 'jx.cn.escort' compileSdk 34 defaultConfig { applicationId "jx.cn.escort" minSdk 24 targetSdk 34 versionCode 1 versionName "1.0" ndk { abiFilters "armeabi","x86","x86_64","armeabi-v7a","arm64-v8a" } testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } splits { abi { // enable true // reset() include "armeabi","x86","x86_64","armeabi-v7a","arm64-v8a" // universalApk false } } signingConfigs { def keypass=project.property("sign.keytool.keypass") def keystore=project.property("sign.keytool.storepass") def appAlias=project.property("sign.keytool.appAlias") release { storeFile file('.\\sign\\jxit.jks') storePassword keystore keyAlias appAlias keyPassword keypass } debug{ storeFile file('.\\sign\\jxit.jks') storePassword keystore keyAlias appAlias keyPassword keypass } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } buildFeatures { viewBinding true dataBinding false buildConfig true } } dependencies { implementation libs.core.ktx implementation libs.appcompat implementation libs.material implementation libs.constraintlayout implementation libs.xui implementation libs.recyclerview implementation libs.glide implementation libs.androidx.navigation.ui.ktx implementation libs.koin.android implementation libs.preference implementation libs.calender implementation libs.camera2 implementation libs.camera.core implementation libs.camera.life implementation libs.camera.video implementation libs.camera.view implementation libs.camera.mlkit implementation libs.camera.ext implementation 'com.github.xuexiangjys:XQRCode:1.1.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' }