Skip to content

Commit 612ed95

Browse files
Include clean command for generated artifacts
1 parent 99a77ae commit 612ed95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

android-database-sqlcipher/native.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ def gitClean(directory) {
8787
workingDir "${directory}"
8888
commandLine "git", "checkout", "-f"
8989
}
90+
exec {
91+
workingDir "${directory}"
92+
commandLine "git", "clean", "-d", "-f"
93+
}
9094
}
9195

9296
def executeNdkBuild(outputDir, androidMkDirectory, applicationMkFile, cflags) {

0 commit comments

Comments
 (0)