feat(release): 新增签名配置并更新构建类型
- 新增 release 签名配置,使用 agent_retention.jks 密钥库 - 更新 release 构建类型,启用签名配置和代码混淆 - 移除旧的密钥库文件 (agentkey.jks, new-release-key.jks, your-release-key.jks) - 更新 .idea/misc.xml 文件
This commit is contained in:
parent
c999ee6f69
commit
7cf941af6e
|
@ -1,4 +1,3 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK">
|
||||
|
|
BIN
agentkey.jks
BIN
agentkey.jks
Binary file not shown.
Binary file not shown.
|
@ -6,6 +6,15 @@ android {
|
|||
namespace 'com.example.studyapp'
|
||||
compileSdk 35
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file('agent_retention.jks')
|
||||
storePassword 'agent_retention'
|
||||
keyAlias 'agent_retention'
|
||||
keyPassword 'agent_retention'
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.example.retention"
|
||||
minSdk 24
|
||||
|
@ -30,7 +39,8 @@ android {
|
|||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
signingConfig signingConfigs.release
|
||||
minifyEnabled true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue