|
@@ -10,8 +10,11 @@ android {
|
|
|
udapda {
|
|
udapda {
|
|
|
keyAlias 'jiaweisi_wms_alias'
|
|
keyAlias 'jiaweisi_wms_alias'
|
|
|
keyPassword 'pdakeystone'
|
|
keyPassword 'pdakeystone'
|
|
|
- storeFile file('C:\\sigin\\jiaweisi_wms.jks')
|
|
|
|
|
storePassword 'pdakeystone'
|
|
storePassword 'pdakeystone'
|
|
|
|
|
+ storeFile file('C:\\sigin\\jiaweisi_wms.jks')
|
|
|
|
|
+
|
|
|
|
|
+// v1SigningEnabled true
|
|
|
|
|
+// v2SigningEnabled true
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|
@@ -24,7 +27,8 @@ android {
|
|
|
versionCode rootProject.ext.android.versionCode
|
|
versionCode rootProject.ext.android.versionCode
|
|
|
versionName rootProject.ext.android.versionName
|
|
versionName rootProject.ext.android.versionName
|
|
|
|
|
|
|
|
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
|
|
+// consumerProguardFiles 'proguard-rules.pro'
|
|
|
|
|
+
|
|
|
multiDexEnabled true // 确保启用多DEX支持
|
|
multiDexEnabled true // 确保启用多DEX支持
|
|
|
javaCompileOptions {
|
|
javaCompileOptions {
|
|
|
annotationProcessorOptions {
|
|
annotationProcessorOptions {
|
|
@@ -33,7 +37,7 @@ android {
|
|
|
}
|
|
}
|
|
|
ndk {
|
|
ndk {
|
|
|
//设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
|
|
//设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so)
|
|
|
- abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
|
|
|
|
|
|
+ abiFilters "armeabi" , "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
bundle {
|
|
bundle {
|
|
@@ -50,6 +54,7 @@ android {
|
|
|
}
|
|
}
|
|
|
buildTypes {
|
|
buildTypes {
|
|
|
release {
|
|
release {
|
|
|
|
|
+ signingConfig signingConfigs.udapda
|
|
|
minifyEnabled false // 是否启用代码混淆,默认是false
|
|
minifyEnabled false // 是否启用代码混淆,默认是false
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
}
|
|
}
|
|
@@ -71,7 +76,7 @@ android {
|
|
|
// def fileName
|
|
// def fileName
|
|
|
// if (outputFile != null && outputFile.name.endsWith('.apk')) {
|
|
// if (outputFile != null && outputFile.name.endsWith('.apk')) {
|
|
|
// def releaseInfo = getVersionName()
|
|
// def releaseInfo = getVersionName()
|
|
|
-// fileName = "普耐尔WMS_RELEASE_${releaseInfo}.apk"
|
|
|
|
|
|
|
+// fileName = "贾维斯_WMS_RELEASE_${releaseInfo}.apk"
|
|
|
// outputFileName = fileName
|
|
// outputFileName = fileName
|
|
|
// }
|
|
// }
|
|
|
// }
|
|
// }
|
|
@@ -92,6 +97,7 @@ android {
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
applicationVariants.all { variant ->
|
|
applicationVariants.all { variant ->
|
|
|
variant.outputs.all { output ->
|
|
variant.outputs.all { output ->
|
|
|
def outputFile = output.outputFile
|
|
def outputFile = output.outputFile
|
|
@@ -169,9 +175,10 @@ dependencies {
|
|
|
implementation 'com.permissionx.guolindev:permissionx:1.3.0'
|
|
implementation 'com.permissionx.guolindev:permissionx:1.3.0'
|
|
|
|
|
|
|
|
// 友盟基础组件库(所有友盟业务SDK都依赖基础组件库)
|
|
// 友盟基础组件库(所有友盟业务SDK都依赖基础组件库)
|
|
|
- implementation 'com.umeng.umsdk:common:9.4.4' //(必选)
|
|
|
|
|
- implementation 'com.umeng.umsdk:asms:1.4.1' // asms包依赖(必选)
|
|
|
|
|
- implementation 'com.umeng.umsdk:apm:1.5.2' // U-APM包依赖(必选) 错误分析升级为独立SDK,看crash数据请一定集成
|
|
|
|
|
|
|
+// implementation 'com.umeng.umsdk:common:9.4.4' //(必选)
|
|
|
|
|
+// implementation 'com.umeng.umsdk:asms:1.4.1' // asms包依赖(必选)
|
|
|
|
|
+// implementation 'com.umeng.umsdk:apm:1.5.2' // U-APM包依赖(必选) 错误分析升级为独立SDK,看crash数据请一定集成
|
|
|
|
|
+
|
|
|
|
|
|
|
|
implementation 'org.greenrobot:eventbus:3.1.1' //eventBus
|
|
implementation 'org.greenrobot:eventbus:3.1.1' //eventBus
|
|
|
implementation 'org.apache.commons:commons-text:1.9'
|
|
implementation 'org.apache.commons:commons-text:1.9'
|