Skip to content

Commit 44fe51f

Browse files
author
Mihail Slavchev
committed
update gradle script to cache exploded-arr
1 parent 6c38d48 commit 44fe51f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build/project-template-gradle/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,10 @@ task copyMetadata(type: Copy) {
388388

389389
task deleteExplodedAarFolder (type: Delete) {
390390

391+
outputs.upToDateWhen {
392+
!buildMetadata.didWork
393+
}
394+
391395
def explodedAarDir = project.buildDir.getAbsolutePath() + "/intermediates/exploded-aar"
392396
delete explodedAarDir
393397
}

0 commit comments

Comments
 (0)