|
|
@@ -54,7 +54,7 @@ android { |
|
|
|
ndk { |
|
|
|
//选择要添加的对应cpu类型的.so库。 |
|
|
|
abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'x86_64', 'mips', 'mips64', 'arm64-v8a' |
|
|
|
// abiFilters 'armeabi-v7a','x86_64' |
|
|
|
//abiFilters 'armeabi-v7a','x86_64' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -109,19 +109,19 @@ android { |
|
|
|
|
|
|
|
|
|
|
|
// 应用信息配置 |
|
|
|
// productFlavors { |
|
|
|
// // 智夜生活 |
|
|
|
// zhiying { |
|
|
|
// applicationId "cn.zhios.zhiying" |
|
|
|
// versionCode 52 |
|
|
|
// dimension "app" |
|
|
|
// versionName '1.3.12' |
|
|
|
// // 签名信息 |
|
|
|
// signingConfig signingConfigs.zhiying |
|
|
|
// } |
|
|
|
// } |
|
|
|
// |
|
|
|
// // 打包脚本 |
|
|
|
productFlavors { |
|
|
|
// 智夜生活 |
|
|
|
zhiying { |
|
|
|
applicationId "cn.zhios.zhiying" |
|
|
|
versionCode 53 |
|
|
|
dimension "app" |
|
|
|
versionName '1.3.13' |
|
|
|
// 签名信息 |
|
|
|
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' |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|