Skip to content

Commit 5e87349

Browse files
Only build amalgamation when it doesn't exist
1 parent 874e10e commit 5e87349

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
@@ -14,6 +14,10 @@ task buildOpenSSL () {
1414
}
1515

1616
task buildAmalgamation () {
17+
onlyIf {
18+
def amalgamation = new File("${projectDir}/src/main/external/sqlcipher/sqlite3.c")
19+
return !amalgamation.exists()
20+
}
1721
doLast {
1822
exec {
1923
workingDir "${projectDir}/src/main/external/sqlcipher"

0 commit comments

Comments
 (0)