|
|
|
|
@ -54,7 +54,7 @@ android { |
|
|
|
|
} |
|
|
|
|
applicationVariants.configureEach { variant -> |
|
|
|
|
variant.outputs.configureEach { output -> |
|
|
|
|
def flavorNames = variant.productFlavors.collect { it.name }.join('-') |
|
|
|
|
def flavorNames = variant.productFlavors.collect { it.name == "normal" ? "java" : it.name }.join('-') |
|
|
|
|
// 构建自定义文件名 |
|
|
|
|
def fileName = "TVBox_${variant.buildType.name}-${flavorNames}.apk" |
|
|
|
|
outputFileName = fileName |
|
|
|
|
|