Merge pull request #4 from majestrate/dev

fixies for CI pipeline
This commit is contained in:
Jeff 2021-09-22 16:24:23 -04:00 committed by GitHub
commit d974002773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -78,11 +78,13 @@ task cleanNativeLibs(type: Delete) {
}
task compileNativeLibs(type: Exec) {
def dir = new File("$projectDir/../external/lokinet")
if ( dir.exists() ) {
def f = new File("$projectDir/../external/lokinet/contrib/android.sh")
if ( f.exists() ) {
workingDir "$projectDir/../external/lokinet"
environment "NDK", project.android.ndkDirectory
executable "./contrib/android.sh"
} else {
executable "true"
}
}