fix:
update:更新到酷比打包
This commit is contained in:
2022-03-02 14:59:46 +08:00
parent 046eeea74c
commit 0700e40b84
5 changed files with 27 additions and 35 deletions

View File

@@ -25,7 +25,7 @@ allprojects {
}
def appName() {
return "奥乐云桌面"
return "AoleyunLauncher3"
}
def releaseTime() {
@@ -84,9 +84,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
//签名
//签名
signingConfigs {
zhanRui {
alldocube {
storeFile file("src/doc/zhanxun.keystore")
storePassword "123456"
keyAlias "zhanxun"
@@ -95,46 +96,40 @@ android {
v2SigningEnabled true
}
debug {
storeFile file("src/doc/xueshibaoos.jks")
alldocubeDebug {
storeFile file("src/doc/zhanxunUserdebug.keystore")
storePassword "123456"
keyAlias "xueshibaoos"
keyAlias "zhanxunUserdebug"
keyPassword "123456"
v2SigningEnabled false
}
release {// 签名文件
storeFile file("src/doc/xueshibaoos.jks")
storePassword "123456"
keyAlias "xueshibaoos"
keyPassword "123456"
v2SigningEnabled false
v1SigningEnabled true
v2SigningEnabled true
}
}
buildTypes {
zhanRuiRelease.initWith(release)
zhanRuiRelease {
buildConfigField "String", "platform", '"ZhanRui"'
signingConfig signingConfigs.zhanRui
}
zhanRuiDebug.initWith(debug)
zhanRuiDebug {
versionNameSuffix "-debug"
alldocubeDebug.initWith(debug)
alldocubeDebug {
buildConfigField "String", "platform", '"ZhanRui"'
debuggable true
signingConfig signingConfigs.zhanRui
versionNameSuffix "-debug"
signingConfig signingConfigs.alldocubeDebug
}
alldocubeDebugReleas.initWith(release)
alldocubeDebugReleas {
buildConfigField "String", "platform", '"ZhanRui"'
signingConfig signingConfigs.alldocubeDebug
}
debug {
buildConfigField "String", "platform", '"MTK"'
buildConfigField "String", "platform", '"ZhanRui"'
debuggable true
versionNameSuffix "-debug"
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
//Zipalign优化
zipAlignEnabled true
signingConfig signingConfigs.debug
signingConfig signingConfigs.alldocube
applicationVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
@@ -147,7 +142,7 @@ android {
}
release {
buildConfigField "String", "platform", '"MTK"'
buildConfigField "String", "platform", '"ZhanRui"'
//混淆
minifyEnabled false
//前一部分代表系统默认的android程序的混淆文件该文件已经包含了基本的混淆声明后一个文件是自己的定义混淆文件
@@ -155,7 +150,7 @@ android {
//Zipalign优化
zipAlignEnabled true
//签名
signingConfig signingConfigs.release
signingConfig signingConfigs.alldocube
//将release版本的包名重命名加上版本及日期
applicationVariants.all { variant ->
variant.outputs.each { output ->
@@ -169,7 +164,6 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

View File

@@ -13,13 +13,11 @@ android {
}
buildTypes {
zhanRuiRelease.initWith(release)
zhanRuiRelease {
alldocubeDebug {
minifyEnabled false
}
zhanRuiDebug.initWith(debug)
zhanRuiDebug {
alldocubeDebugReleas {
minifyEnabled false
}
debug {

View File

@@ -1,3 +1,3 @@
include ':IconLoader'
project(':IconLoader').projectDir = new File(rootDir, 'iconloaderlib')
rootProject.name='奥乐云桌面'
rootProject.name='酷比桌面'

Binary file not shown.

Binary file not shown.