Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftsmanHyj committed Jul 13, 2022
1 parent dc239aa commit 2f96079
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
19 changes: 9 additions & 10 deletions Demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
releaseSign { //正式签名
keyAlias KEY_ALIAS
keyPassword KEY_PASSWORD
storeFile file(STORE_FILE)
storePassword STORE_PASSWORD
}
}

// signingConfigs {
// releaseSign { //正式签名
// keyAlias KEY_ALIAS
// keyPassword KEY_PASSWORD
// storeFile file(STORE_FILE)
// storePassword STORE_PASSWORD
// }
// }

buildTypes {
release {
Expand All @@ -34,7 +33,7 @@ android {
minifyEnabled true //编译时是否混淆
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

signingConfig signingConfigs.releaseSign //签名信息
// signingConfig signingConfigs.releaseSign //签名信息
}
}

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,6 @@ class MainActivity : AppCompatActivity() {
}
```



优秀权限库:[XXPermissions](https://github.com/getActivity/XXPermissions)

0 comments on commit 2f96079

Please sign in to comment.