2
0

Execute gradle scripts with bash.

This commit is contained in:
Maarten Billemont 2018-06-25 10:34:56 -04:00
parent 8276d2f4e5
commit 8ffc0ae350
3 changed files with 5 additions and 8 deletions

View File

@ -1,6 +1,5 @@
#Fri Jun 22 01:12:28 EDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip

View File

@ -56,10 +56,10 @@ dependencies {
preBuild {
dependsOn task( type: Exec, 'buildLibSodium', {
commandLine "$projectDir/../lib/bin/build_libsodium-android"
commandLine 'bash', "$rootDir/../lib/bin/build_libsodium-android"
} )
dependsOn task( type: Exec, 'buildLibJson-c', {
commandLine "$projectDir/../lib/bin/build_libjson-c-android"
commandLine 'bash', "$rootDir/../lib/bin/build_libjson-c-android"
} )
}

View File

@ -53,13 +53,11 @@ library {
if (project.tasks.findByName('buildLibSodium') == null)
archive.dependsOn task( type: Exec, 'buildLibSodium', {
workingDir file( "$rootDir/../lib/bin" )
commandLine 'bash', "./build_libsodium-${platform}"
commandLine 'bash', "$rootDir/../lib/bin/build_libsodium-${platform}"
} )
// if (project.tasks.findByName('buildLibJson-c') == null)
// archive.dependsOn task( type: Exec, 'buildLibJson-c', {
// workingDir file( "$rootDir/../lib/bin" )
// commandLine 'bash', "./build_libjson-c-${platform}"
// commandLine 'bash', "$rootDir/../lib/bin/build_libjson-c-${platform}"
// } )
project.dependencies {