2
0

Fix gradle build.

This commit is contained in:
Maarten Billemont
2018-06-30 11:56:33 -04:00
parent 0dddcef28e
commit 86f4e8ec06
3 changed files with 36 additions and 27 deletions

View File

@@ -55,11 +55,13 @@ dependencies {
}
preBuild {
dependsOn task( type: Exec, 'buildLibSodium', {
dependsOn task( type: Exec, 'build_libsodium-android', {
commandLine 'bash', "$rootDir/../lib/bin/build_libsodium-android"
environment 'ANDROID_NDK_HOME', android.ndkDirectory
} )
dependsOn task( type: Exec, 'buildLibJson-c', {
dependsOn task( type: Exec, 'build_libjson-c-android', {
commandLine 'bash', "$rootDir/../lib/bin/build_libjson-c-android"
environment 'ANDROID_NDK_HOME', android.ndkDirectory
} )
}