Skip to content

Commit

Permalink
增加签名;
Browse files Browse the repository at this point in the history
  • Loading branch information
su committed Dec 23, 2020
1 parent 92672fe commit 575f5d5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,22 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

/*signingConfigs {
release {
storeFile file(APP_STORE_FILE)
storePassword APP_STORE_PASSWORD
keyAlias APP_KEY_ALIAS
keyPassword APP_KEY_PASSWORD
}
}*/

buildTypes {
release {
minifyEnabled true
shrinkResources true
zipAlignEnabled true
// signingConfig signingConfigs.release

proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}

Expand Down
7 changes: 6 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.code.style=official

#APP_STORE_FILE=
#APP_STORE_PASSWORD=
#APP_KEY_ALIAS=
#APP_KEY_PASSWORD=

0 comments on commit 575f5d5

Please sign in to comment.