version:1.2.3
fix: update:增加W5A平台
This commit is contained in:
48
build.gradle
48
build.gradle
@@ -1,11 +1,13 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
// mavenCentral()
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
maven { url 'http://developer.huawei.com/repo/' }
|
maven { url 'https://developer.huawei.com/repo/' }
|
||||||
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
||||||
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
|
maven { url "https://maven.aliyun.com/repository/jcenter" }
|
||||||
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
||||||
|
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -116,9 +118,37 @@ android {
|
|||||||
v1SigningEnabled true
|
v1SigningEnabled true
|
||||||
v2SigningEnabled true
|
v2SigningEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
W5A {
|
||||||
|
storeFile file("keystore/Unisoc_W5A.jks")
|
||||||
|
storePassword "123456"
|
||||||
|
keyAlias "Unisoc_W5A"
|
||||||
|
keyPassword "123456"
|
||||||
|
v2SigningEnabled false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
W5ADebug.initWith(debug)
|
||||||
|
W5ADebug {
|
||||||
|
versionNameSuffix "-debug"
|
||||||
|
debuggable true
|
||||||
|
signingConfig signingConfigs.W5A
|
||||||
|
buildConfigField "String", "platform", '"YKWA5E"'
|
||||||
|
manifestPlaceholders = [
|
||||||
|
Baidu_AK: "YCmfZSw54O992lChzS3c4roYioitT54h"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
W5ARelease.initWith(release)
|
||||||
|
W5ARelease {
|
||||||
|
signingConfig signingConfigs.W5A
|
||||||
|
buildConfigField "String", "platform", '"YKWA5E"'
|
||||||
|
manifestPlaceholders = [
|
||||||
|
Baidu_AK: "YCmfZSw54O992lChzS3c4roYioitT54h"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
Aigo1071Debug.initWith(debug)
|
Aigo1071Debug.initWith(debug)
|
||||||
Aigo1071Debug {
|
Aigo1071Debug {
|
||||||
versionNameSuffix "-debug"
|
versionNameSuffix "-debug"
|
||||||
@@ -357,11 +387,13 @@ repositories {
|
|||||||
maven { url "../../../prebuilts/fullsdk-darwin/extras/android/m2repository" }
|
maven { url "../../../prebuilts/fullsdk-darwin/extras/android/m2repository" }
|
||||||
maven { url "../../../prebuilts/fullsdk-linux/extras/android/m2repository" }
|
maven { url "../../../prebuilts/fullsdk-linux/extras/android/m2repository" }
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
// mavenCentral()
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
maven { url 'http://developer.huawei.com/repo/' }
|
maven { url 'https://developer.huawei.com/repo/' }
|
||||||
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
maven { url 'https://maven.aliyun.com/repository/central' }
|
||||||
maven { url 'http://maven.aliyun.com/nexus/content/repositories/releases/' }
|
maven { url "https://maven.aliyun.com/repository/jcenter" }
|
||||||
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
||||||
|
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
W5ADebug {}
|
||||||
|
W5ARelease {}
|
||||||
Aigo1071Debug {}
|
Aigo1071Debug {}
|
||||||
Aigo1071Release {}
|
Aigo1071Release {}
|
||||||
UnisocS6688Debug {}
|
UnisocS6688Debug {}
|
||||||
|
|||||||
BIN
keystore/Unisoc_W5A.jks
Normal file
BIN
keystore/Unisoc_W5A.jks
Normal file
Binary file not shown.
@@ -11,6 +11,8 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
W5ADebug {}
|
||||||
|
W5ARelease {}
|
||||||
Aigo1071Debug {}
|
Aigo1071Debug {}
|
||||||
Aigo1071Release {}
|
Aigo1071Release {}
|
||||||
UnisocS6688Debug {}
|
UnisocS6688Debug {}
|
||||||
|
|||||||
Reference in New Issue
Block a user