version:1.0.0
bugfixes: update:更改包名,增加系统签名,修改图标
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
static def appName() {
|
||||
return "HomeVideoPlayer"
|
||||
return "HaiNaOS"
|
||||
}
|
||||
|
||||
static def releaseTime() {
|
||||
@@ -13,13 +13,13 @@ android {
|
||||
buildToolsVersion "30.0.3"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.uiui.videoplayer"
|
||||
applicationId "com.hainaos.vc"
|
||||
|
||||
//There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature.
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 28
|
||||
versionCode 122
|
||||
versionName "1.2.2"
|
||||
versionCode 1
|
||||
versionName "1.0.0"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
@@ -51,6 +51,15 @@ android {
|
||||
|
||||
//签名
|
||||
signingConfigs {
|
||||
zhanRui {
|
||||
storeFile file("keystore/zhanxun.keystore")
|
||||
storePassword "123456"
|
||||
keyAlias "zhanxun"
|
||||
keyPassword "123456"
|
||||
v1SigningEnabled true
|
||||
v2SigningEnabled false
|
||||
}
|
||||
|
||||
tuixin {// 签名文件
|
||||
storeFile file("keystore/tuixin.jks")
|
||||
storePassword "123456"
|
||||
@@ -61,36 +70,23 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
//多版本
|
||||
productFlavors {
|
||||
uiui {
|
||||
flavorDimensions "default"
|
||||
}
|
||||
|
||||
uiuios {
|
||||
flavorDimensions "default"
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
uiui {
|
||||
java {
|
||||
srcDirs += ['uiui/java'] // 5 添加
|
||||
}
|
||||
aidl.srcDirs 'src/uiui/aidl'
|
||||
}
|
||||
|
||||
uiuios {
|
||||
java {
|
||||
srcDirs += ['uiuios/java'] // 5 添加
|
||||
}
|
||||
aidl.srcDirs 'src/uiuios/aidl'
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
zhanRuiDebug.initWith(debug)
|
||||
zhanRuiDebug {
|
||||
debuggable true
|
||||
versionNameSuffix "-debug"
|
||||
signingConfig signingConfigs.zhanRui
|
||||
buildConfigField "String", "platform", '"展锐"'
|
||||
}
|
||||
|
||||
zhanRuiRelease.initWith(release)
|
||||
zhanRuiRelease {
|
||||
signingConfig signingConfigs.zhanRui
|
||||
buildConfigField "String", "platform", '"展锐"'
|
||||
}
|
||||
|
||||
debug {
|
||||
buildConfigField "String", "platform", '"UMTK11"'
|
||||
buildConfigField "String", "platform", '"tuixin"'
|
||||
versionNameSuffix "_debug"
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
@@ -107,7 +103,7 @@ android {
|
||||
}
|
||||
|
||||
release {
|
||||
buildConfigField "String", "platform", '"UMTK11"'
|
||||
buildConfigField "String", "platform", '"tuixin"'
|
||||
//Zipalign优化
|
||||
zipAlignEnabled true
|
||||
//混淆
|
||||
|
||||
Reference in New Issue
Block a user