123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apply plugin: 'com.android.application'
- def keystoreProperties = new Properties()
- def keystoreProperitiesFile = rootProject.file('keystore.properties')
- if (keystoreProperitiesFile.exists()) {
- keystoreProperties.load(new FileInputStream(keystoreProperitiesFile))
- }
- android {
- signingConfigs {
- release {
- storeFile file(keystoreProperties['storeFile'])
- keyAlias keystoreProperties['keyAlias']
- keyPassword keystoreProperties['keyPassword']
- storePassword keystoreProperties['storePassword']
- }
- }
- compileSdk 33
- defaultConfig {
- versionCode 10016
- versionName "1.2.6"
- applicationId "me.yoqi.qrcode"
- minSdkVersion 21
- targetSdk 34
- signingConfig signingConfigs.release
- multiDexEnabled true
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
- signingConfig signingConfigs.release
- multiDexEnabled true
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation project(":utils")
- // implementation 'me.dm7.barcodescanner:zxing:1.9'
- //implementation 'cn.bingoogolapple:bga-qrcode-zbar:1.2.5'
- }
|