新增上报日志功能

This commit is contained in:
2024-06-29 10:11:42 +08:00
parent f1a1aae787
commit e0669e98cf
17 changed files with 301 additions and 110 deletions

View File

@@ -88,12 +88,12 @@ android {
applicationVariants.all { variant ->
println "清空build文件夹";
/* for (final def project in rootProject.getAllprojects()) {
for (final def project in rootProject.getAllprojects()) {
def name = variant.name.replace('Debug', '').replace('Release', '').toLowerCase()
delete project.buildDir
//delete project.buildDir
delete project.rootDir.absolutePath+File.separator+"app"+File.separator+name
println project.buildDir
}*/
//println project.buildDir
}
//delete project.rootDir.absolutePath + File.separator + "outputs"
String variantName = variant.name.capitalize()
def processManifestTask = project.tasks.getByName("process${variantName}Manifest")