|
|
@@ -54,7 +54,7 @@ android { |
|
|
|
ndk { |
|
|
|
//选择要添加的对应cpu类型的.so库。 |
|
|
|
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a' |
|
|
|
//abiFilters 'armeabi-v7a','x86_64','arm64-v8a' |
|
|
|
// abiFilters 'armeabi-v7a','x86_64' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -109,19 +109,19 @@ android { |
|
|
|
|
|
|
|
|
|
|
|
// 应用信息配置 |
|
|
|
// productFlavors { |
|
|
|
// // 智夜生活 |
|
|
|
// zhiying { |
|
|
|
// applicationId "cn.zhios.zhiying" |
|
|
|
// versionCode 57 |
|
|
|
// dimension "app" |
|
|
|
// versionName '1.3.17' |
|
|
|
// // 签名信息 |
|
|
|
// signingConfig signingConfigs.zhiying |
|
|
|
// } |
|
|
|
// } |
|
|
|
// |
|
|
|
// // 打包脚本 |
|
|
|
productFlavors { |
|
|
|
// 智夜生活 |
|
|
|
zhiying { |
|
|
|
applicationId "cn.zhios.zhiying" |
|
|
|
versionCode 59 |
|
|
|
dimension "app" |
|
|
|
versionName '1.3.19' |
|
|
|
// 签名信息 |
|
|
|
signingConfig signingConfigs.zhiying |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 打包脚本 |
|
|
|
// android.applicationVariants.all { variant -> |
|
|
|
// if (variant.buildType.name != "debug") { |
|
|
|
// variant.getPackageApplicationProvider().get().outputDirectory = new File(project.rootDir.absolutePath + "/app/build/outputs/apk") |
|
|
@@ -136,18 +136,18 @@ android { |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
configurations.all { |
|
|
|
resolutionStrategy.eachDependency { DependencyResolveDetails details -> |
|
|
|
def requested = details.requested |
|
|
|
if (requested.group == 'com.android.support') { |
|
|
|
if (!requested.name.startsWith("multidex")) { |
|
|
|
details.useVersion '28.0.3' |
|
|
|
} |
|
|
|
} |
|
|
|
resolutionStrategy.force 'com.android.support:support-v4:28.0.0' |
|
|
|
} |
|
|
|
} |
|
|
|
// |
|
|
|
// configurations.all { |
|
|
|
// resolutionStrategy.eachDependency { DependencyResolveDetails details -> |
|
|
|
// def requested = details.requested |
|
|
|
// if (requested.group == 'com.android.support') { |
|
|
|
// if (!requested.name.startsWith("multidex")) { |
|
|
|
// details.useVersion '28.0.3' |
|
|
|
// } |
|
|
|
// } |
|
|
|
// resolutionStrategy.force 'com.android.support:support-v4:28.0.0' |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
@@ -186,6 +186,7 @@ dependencies { |
|
|
|
implementation 'com.alibaba.sdk.android:nb_trade:4.0.0.16@aar' |
|
|
|
implementation 'com.alibaba:fastjson:1.2.41@jar' |
|
|
|
|
|
|
|
implementation 'com.amap.api:location:5.2.0' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|