Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Fix cleanCopyProguard problem
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed Oct 12, 2019
1 parent 5b05fd3 commit 729f6bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion android/sdk/buildSrc/packageName.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ task copyProguard(type: Copy){
}
}

task(cleanCopyProguard, overwrite: true, type: Delete){
delete 'proguard-rules-legacy.pro'
}

task copyOtherCppFile(type: Copy){
if(!project.useApachePackageName) {
inputs.dir new File('../../weex_core')
Expand Down Expand Up @@ -77,4 +81,4 @@ gradle.taskGraph.beforeTask { Task task ->
}

preBuild.dependsOn copyAndRenameCppSourceFile, copyAndRenamePackage, copyManifest, copyProguard
clean.dependsOn cleanCopyAndRenamePackage, cleanCopyManifest, cleanCopyOtherCppFile, cleanCopyAndRenameCppSourceFile
clean.dependsOn cleanCopyAndRenamePackage, cleanCopyManifest, cleanCopyProguard, cleanCopyOtherCppFile, cleanCopyAndRenameCppSourceFile

0 comments on commit 729f6bc

Please sign in to comment.