Agn88 ttslot88 改包名 改签名
This commit is contained in:
@@ -6,7 +6,6 @@ plugins {
|
||||
android {
|
||||
compileSdkVersion 31
|
||||
buildToolsVersion "30.0.3"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.web.FreeAUD"
|
||||
minSdkVersion 24
|
||||
@@ -50,16 +49,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