diff --git a/app/build.gradle.kts b/app/build.gradle.kts index bc08e9b..8e3e137 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -21,8 +21,18 @@ android { } } + signingConfigs { + create("release") { + storeFile = file("../key/StandAPP") + storePassword = "StandAPP" + keyAlias = "standapp" + keyPassword = "StandAPP" + } + } + buildTypes { release { + signingConfig = signingConfigs.getByName("release") // 1. 开启代码混淆/压缩 (注意是 isMinifyEnabled) isMinifyEnabled = true