输出目录统一配置在rootProject修改

This commit is contained in:
xuhuixiang
2025-03-18 14:54:29 +08:00
parent ddf1a9ed67
commit 54c6ee78cb
51 changed files with 54 additions and 50 deletions

View File

@@ -43,7 +43,7 @@ android {
applicationVariants.all { variant ->
variant.outputs.all {
def appName = "mk88aud"
def outputDir = new File("F:/web_app")
def outputDir = new File(rootProject.ext.outputPath)
// 创建输出目录
outputDir.mkdirs()
def outputFileName = "${appName}.apk"