version:
fix: update:更新到酷比打包
This commit is contained in:
52
build.gradle
52
build.gradle
@@ -25,7 +25,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def appName() {
|
def appName() {
|
||||||
return "奥乐云桌面"
|
return "AoleyunLauncher3"
|
||||||
}
|
}
|
||||||
|
|
||||||
def releaseTime() {
|
def releaseTime() {
|
||||||
@@ -84,9 +84,10 @@ android {
|
|||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
|
|
||||||
//签名
|
//签名
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
zhanRui {
|
alldocube {
|
||||||
storeFile file("src/doc/zhanxun.keystore")
|
storeFile file("src/doc/zhanxun.keystore")
|
||||||
storePassword "123456"
|
storePassword "123456"
|
||||||
keyAlias "zhanxun"
|
keyAlias "zhanxun"
|
||||||
@@ -95,46 +96,40 @@ android {
|
|||||||
v2SigningEnabled true
|
v2SigningEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
debug {
|
alldocubeDebug {
|
||||||
storeFile file("src/doc/xueshibaoos.jks")
|
storeFile file("src/doc/zhanxunUserdebug.keystore")
|
||||||
storePassword "123456"
|
storePassword "123456"
|
||||||
keyAlias "xueshibaoos"
|
keyAlias "zhanxunUserdebug"
|
||||||
keyPassword "123456"
|
keyPassword "123456"
|
||||||
v2SigningEnabled false
|
v1SigningEnabled true
|
||||||
}
|
v2SigningEnabled true
|
||||||
|
|
||||||
release {// 签名文件
|
|
||||||
storeFile file("src/doc/xueshibaoos.jks")
|
|
||||||
storePassword "123456"
|
|
||||||
keyAlias "xueshibaoos"
|
|
||||||
keyPassword "123456"
|
|
||||||
v2SigningEnabled false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
zhanRuiRelease.initWith(release)
|
alldocubeDebug.initWith(debug)
|
||||||
zhanRuiRelease {
|
alldocubeDebug {
|
||||||
buildConfigField "String", "platform", '"ZhanRui"'
|
|
||||||
signingConfig signingConfigs.zhanRui
|
|
||||||
}
|
|
||||||
|
|
||||||
zhanRuiDebug.initWith(debug)
|
|
||||||
zhanRuiDebug {
|
|
||||||
versionNameSuffix "-debug"
|
|
||||||
buildConfigField "String", "platform", '"ZhanRui"'
|
buildConfigField "String", "platform", '"ZhanRui"'
|
||||||
debuggable true
|
debuggable true
|
||||||
signingConfig signingConfigs.zhanRui
|
versionNameSuffix "-debug"
|
||||||
|
signingConfig signingConfigs.alldocubeDebug
|
||||||
|
}
|
||||||
|
|
||||||
|
alldocubeDebugReleas.initWith(release)
|
||||||
|
alldocubeDebugReleas {
|
||||||
|
buildConfigField "String", "platform", '"ZhanRui"'
|
||||||
|
signingConfig signingConfigs.alldocubeDebug
|
||||||
}
|
}
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
buildConfigField "String", "platform", '"MTK"'
|
buildConfigField "String", "platform", '"ZhanRui"'
|
||||||
|
debuggable true
|
||||||
versionNameSuffix "-debug"
|
versionNameSuffix "-debug"
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
//Zipalign优化
|
//Zipalign优化
|
||||||
zipAlignEnabled true
|
zipAlignEnabled true
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.alldocube
|
||||||
applicationVariants.all { variant ->
|
applicationVariants.all { variant ->
|
||||||
variant.outputs.each { output ->
|
variant.outputs.each { output ->
|
||||||
def outputFile = output.outputFile
|
def outputFile = output.outputFile
|
||||||
@@ -147,7 +142,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
buildConfigField "String", "platform", '"MTK"'
|
buildConfigField "String", "platform", '"ZhanRui"'
|
||||||
//混淆
|
//混淆
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
//前一部分代表系统默认的android程序的混淆文件,该文件已经包含了基本的混淆声明,后一个文件是自己的定义混淆文件
|
//前一部分代表系统默认的android程序的混淆文件,该文件已经包含了基本的混淆声明,后一个文件是自己的定义混淆文件
|
||||||
@@ -155,7 +150,7 @@ android {
|
|||||||
//Zipalign优化
|
//Zipalign优化
|
||||||
zipAlignEnabled true
|
zipAlignEnabled true
|
||||||
//签名
|
//签名
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.alldocube
|
||||||
//将release版本的包名重命名,加上版本及日期
|
//将release版本的包名重命名,加上版本及日期
|
||||||
applicationVariants.all { variant ->
|
applicationVariants.all { variant ->
|
||||||
variant.outputs.each { output ->
|
variant.outputs.each { output ->
|
||||||
@@ -169,7 +164,6 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|||||||
@@ -13,13 +13,11 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
zhanRuiRelease.initWith(release)
|
alldocubeDebug {
|
||||||
zhanRuiRelease {
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
}
|
}
|
||||||
|
|
||||||
zhanRuiDebug.initWith(debug)
|
alldocubeDebugReleas {
|
||||||
zhanRuiDebug {
|
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
include ':IconLoader'
|
include ':IconLoader'
|
||||||
project(':IconLoader').projectDir = new File(rootDir, 'iconloaderlib')
|
project(':IconLoader').projectDir = new File(rootDir, 'iconloaderlib')
|
||||||
rootProject.name='奥乐云桌面'
|
rootProject.name='酷比桌面'
|
||||||
Binary file not shown.
BIN
src/doc/zhanxunUserdebug.keystore
Normal file
BIN
src/doc/zhanxunUserdebug.keystore
Normal file
Binary file not shown.
Reference in New Issue
Block a user