Skip to content

Commit

Permalink
fix DexArchiveMergeException occuurred in incremental build if the de…
Browse files Browse the repository at this point in the history
…pendency library code has changed
  • Loading branch information
Knight-ZXW committed Aug 6, 2021
1 parent 54dfcb0 commit 518d413
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ class RegisterTransform extends Transform {
long startTime = System.currentTimeMillis()
boolean leftSlash = File.separator == '/'

if (!isIncremental){
outputProvider.deleteAll()
}

inputs.each { TransformInput input ->

// scan all jars
Expand Down

0 comments on commit 518d413

Please sign in to comment.