Skip to content

Commit 63472e6

Browse files
Remove scoping for variables
1 parent f5fa3bd commit 63472e6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

android-database-sqlcipher/native.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ task buildAmalgamation () {
1515
doLast {
1616
exec {
1717
workingDir "${projectDir}/src/main/external/sqlcipher"
18-
environment("CFLAGS", "${rootProject.ext.sqlcipherCFlags}")
18+
environment("CFLAGS", "${sqlcipherCFlags}")
1919
commandLine "./configure", "--enable-tempstore=yes", "--with-crypto-lib=none"
2020
}
2121
exec {
2222
workingDir "${projectDir}/src/main/external/sqlcipher"
23-
environment("CFLAGS", "${rootProject.ext.sqlcipherCFlags}")
23+
environment("CFLAGS", "${sqlcipherCFlags}")
2424
commandLine "make", "sqlite3.c"
2525
}
2626
}
@@ -30,37 +30,37 @@ task buildNative32() {
3030
description "Build the 32-bit native SQLCipher binaries"
3131
doLast {
3232
executeNdkBuild(
33-
"${rootProject.ext.nativeRootOutputDir}/libs32",
33+
"${nativeRootOutputDir}/libs32",
3434
file("src/main/cpp").absolutePath,
3535
file("src/main/cpp/Application32.mk").absolutePath,
36-
"${rootProject.ext.sqlcipherCFlags}")
36+
"${sqlcipherCFlags}")
3737
}
3838
}
3939

4040
task buildNative64() {
4141
description "Build the 64-bit native SQLCipher binaries"
4242
doLast {
4343
executeNdkBuild(
44-
"${rootProject.ext.nativeRootOutputDir}/libs64",
44+
"${nativeRootOutputDir}/libs64",
4545
file("src/main/cpp").absolutePath,
4646
file("src/main/cpp/Application64.mk").absolutePath,
47-
"${rootProject.ext.sqlcipherCFlags}")
47+
"${sqlcipherCFlags}")
4848
}
4949
}
5050

5151
task cleanOpenSSL() {
5252
description "Clean the OpenSSL source"
5353
doLast {
5454
logger.info "Cleaning OpenSSL source"
55-
gitClean("${rootProject.ext.opensslDir}")
55+
gitClean("${opensslDir}")
5656
}
5757
}
5858

5959
task cleanSQLCipher() {
6060
description "Clean the SQLCipher source"
6161
doLast {
6262
logger.info "Cleaning SQLCipher source"
63-
gitClean("${rootProject.ext.sqlcipherDir}")
63+
gitClean("${sqlcipherDir}")
6464
}
6565
}
6666

0 commit comments

Comments
 (0)