Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-android
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 597b8752
authored
Oct 24, 2021
by
amateur
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
52ed08f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
12 deletions
app/build.gradle
app/build.gradle
View file @
597b875
...
...
@@ -72,21 +72,38 @@ android {
buildConfigField
"boolean"
,
"ONLINE"
,
"false"
}
}
signingConfigs
{
// debug {
// storeFile file('../nafmii.keystore')
// storePassword 'whaty123'
// keyPassword 'whaty123'
// keyAlias 'whaty'
// }
release
{
storeFile
file
(
'../nafmii.keystore'
)
storePassword
'whaty123'
keyAlias
'whaty'
keyPassword
'whaty123'
}
}
buildTypes
{
release
{
minifyEnabled
true
//是否混淆
zipAlignEnabled
true
//是否设置zip对齐优化
shrinkResources
true
// 移除无用的resource文件
resValue
"string"
,
"app_name"
,
"NAFMII之窗"
signingConfig
signingConfigs
.
debug
signingConfig
signingConfigs
.
release
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
buildConfigField
"boolean"
,
"SHOW_INPUT"
,
"false"
}
debug
{
signingConfig
signingConfigs
.
release
}
pre
{
// 模拟
minifyEnabled
true
//是否混淆
zipAlignEnabled
true
//是否设置zip对齐优化
shrinkResources
true
signingConfig
signingConfigs
.
debug
signingConfig
signingConfigs
.
release
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
resValue
"string"
,
"app_name"
,
"NAFMII之窗-qp"
applicationIdSuffix
"qp"
...
...
@@ -107,7 +124,7 @@ android {
uat
{
// 测试
debuggable
true
minifyEnabled
false
signingConfig
signingConfigs
.
debug
signingConfig
signingConfigs
.
release
resValue
"string"
,
"app_name"
,
"NAFMII之窗-uat"
applicationIdSuffix
"uat"
buildConfigField
"String"
,
"ASSETS_DIST_DIR"
,
"\"uat\""
...
...
@@ -126,7 +143,7 @@ android {
dev
{
debuggable
true
minifyEnabled
false
signingConfig
signingConfigs
.
debug
signingConfig
signingConfigs
.
release
resValue
"string"
,
"app_name"
,
"NAFMII之窗-dev"
applicationIdSuffix
"dev"
buildConfigField
"String"
,
"WX_APPID"
,
"\"wx06a3b88ecb27f0d8\""
...
...
@@ -146,14 +163,6 @@ android {
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
signingConfigs
{
debug
{
storeFile
file
(
'../nafmii.keystore'
)
storePassword
'whaty123'
keyPassword
'whaty123'
keyAlias
'whaty'
}
}
ndkVersion
'20.0.5594570'
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment