app-release

master
hwf452 2 years ago
parent 3369763b30
commit 7969249af4

@ -14,7 +14,24 @@ android {
resValue "string", "authorities", applicationId
resourceConfigurations += ['zh', 'en', 'hdpi']
}
buildFeatures {
buildConfig = true
}
signingConfigs {
release {
keyAlias 'key0'
storeFile file('../key/keystore1')
storePassword 'abc123123'
keyPassword 'abc123123'
v1SigningEnabled true //V1
v2SigningEnabled true //V2
}
}
buildTypes {
debug {
minifyEnabled false
buildConfigField "boolean", "LOG_ERROR", "true"
}
release {
lintOptions {
checkReleaseBuilds false
@ -24,7 +41,8 @@ android {
zipAlignEnabled true // zip
debuggable false // debug
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField("boolean","LOG_ERROR","false");
buildConfigField "boolean", "LOG_ERROR", "false"
signingConfig signingConfigs.release //
//apk
android.applicationVariants.all { variant ->
variant.outputs.all {

@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.1.0'
}
}

Loading…
Cancel
Save