|
|
@ -78,14 +78,14 @@ android { |
|
|
|
viewBinding true |
|
|
|
viewBinding true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
splits { |
|
|
|
/*splits { |
|
|
|
abi { |
|
|
|
abi { |
|
|
|
reset() |
|
|
|
reset() |
|
|
|
enable true |
|
|
|
enable true |
|
|
|
universalApk true // If true, also generate a universal APK |
|
|
|
universalApk true // If true, also generate a universal APK |
|
|
|
include "armeabi-v7a", "arm64-v8a", "x86", "x86_64" |
|
|
|
include "armeabi-v7a", "arm64-v8a", "x86", "x86_64" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
buildTypes { |
|
|
|
buildTypes { |
|
|
|
release { |
|
|
|
release { |
|
|
@ -94,6 +94,9 @@ android { |
|
|
|
if (keyPropsFile.exists()) { |
|
|
|
if (keyPropsFile.exists()) { |
|
|
|
signingConfig signingConfigs.myConifg |
|
|
|
signingConfig signingConfigs.myConifg |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
ndk { |
|
|
|
|
|
|
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
debug { |
|
|
|
debug { |
|
|
|
minifyEnabled false |
|
|
|
minifyEnabled false |
|
|
@ -103,16 +106,22 @@ android { |
|
|
|
} |
|
|
|
} |
|
|
|
applicationIdSuffix ".debug" |
|
|
|
applicationIdSuffix ".debug" |
|
|
|
versionNameSuffix "-" + commitId |
|
|
|
versionNameSuffix "-" + commitId |
|
|
|
|
|
|
|
ndk { |
|
|
|
|
|
|
|
abiFilters "arm64-v8a" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
android.applicationVariants.all { variant -> |
|
|
|
android.applicationVariants.all { variant -> |
|
|
|
variant.outputs.each { output -> |
|
|
|
variant.outputs.all { |
|
|
|
|
|
|
|
outputFileName = "${name}v${defaultConfig.versionName}.apk" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/*variant.outputs.each { output -> |
|
|
|
def abi = output.getFilter(OutputFile.ABI) |
|
|
|
def abi = output.getFilter(OutputFile.ABI) |
|
|
|
if (abi == null) { |
|
|
|
if (abi == null) { |
|
|
|
abi = "universal" |
|
|
|
abi = "universal" |
|
|
|
} |
|
|
|
} |
|
|
|
def fileName = "${name}v${defaultConfig.versionName}-${abi}.apk" |
|
|
|
def fileName = "${name}v${defaultConfig.versionName}-${abi}.apk" |
|
|
|
output.outputFileName = fileName |
|
|
|
output.outputFileName = fileName |
|
|
|
} |
|
|
|
}*/ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
sourceSets.main { |
|
|
|
sourceSets.main { |
|
|
|