File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
android-database-sqlcipher Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -85,18 +85,15 @@ task cleanOpenSSL() {
8585
8686task cleanSQLCipher () {
8787 description " Clean the SQLCipher source"
88- doLast {
89- logger. info " Cleaning SQLCipher source"
90- gitClean(" ${ sqlcipherDir} " )
91- File amalgamationSource = new File (" ${ sqlcipherDir} /sqlite3.c" )
92- File amalgamationHeader = new File (" ${ sqlcipherDir} /sqlite3.h" )
93- File amalgamationDestinationSource = new File (" ${ nativeRootOutputDir} /cpp/sqlite3.c" )
94- File amalgamationDestinationHeader = new File (" ${ nativeRootOutputDir} /cpp/sqlite3.h" )
95- if (amalgamationSource. exists()) amalgamationSource. delete()
96- if (amalgamationHeader. exists()) amalgamationHeader. delete()
97- if (amalgamationDestinationSource. exists()) amalgamationDestinationSource. delete()
98- if (amalgamationDestinationHeader. exists()) amalgamationDestinationHeader. delete()
99- }
88+ gitClean(" ${ sqlcipherDir} " )
89+ exec {
90+ workingDir " ${ sqlcipherDir} "
91+ commandLine " make" , " clean"
92+ }
93+ File amalgamationDestinationSource = new File (" ${ nativeRootOutputDir} /cpp/sqlite3.c" )
94+ File amalgamationDestinationHeader = new File (" ${ nativeRootOutputDir} /cpp/sqlite3.h" )
95+ if (amalgamationDestinationSource. exists()) amalgamationDestinationSource. delete()
96+ if (amalgamationDestinationHeader. exists()) amalgamationDestinationHeader. delete()
10097}
10198
10299task cleanNative () {
You can’t perform that action at this time.
0 commit comments