Agn88 ttslot88 改包名 改签名
This commit is contained in:
@@ -45,16 +45,12 @@ android {
|
||||
// 创建输出目录
|
||||
outputDir.mkdirs()
|
||||
def outputFileName = "${appName}.apk"
|
||||
|
||||
// 设置输出文件名
|
||||
setOutputFileName(outputFileName)
|
||||
|
||||
// 计算新的输出文件
|
||||
def newOutputFile = new File(outputDir, outputFileName)
|
||||
|
||||
// 如果新的输出目录不存在,则创建它
|
||||
newOutputFile.parentFile.mkdirs()
|
||||
|
||||
// 在构建完成后将 APK 复制到新位置
|
||||
variant.assemble.doLast {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user