Simplify building
This commit is contained in:
parent
9b0b3dbb99
commit
4a838a399c
3 changed files with 3 additions and 3 deletions
|
@ -20,8 +20,6 @@
|
|||
|
||||
You can check whether the latest commit builds under UNIX environment by checking CI status.
|
||||
|
||||
* Set environment variable `ANDROID_HOME` to `/path/to/android-sdk`
|
||||
* (optional) Set environment variable `ANDROID_NDK_HOME` to `/path/to/android-ndk` (default: `$ANDROID_HOME/ndk-bundle`)
|
||||
* Clone the repo using `git clone --recurse-submodules <repo>` or update submodules using `git submodule update --init --recursive`
|
||||
* Build it using Android Studio or gradle script
|
||||
|
||||
|
|
|
@ -50,6 +50,8 @@ task goBuild(type: Exec) {
|
|||
} else {
|
||||
executable "sh"
|
||||
args "-c", "src/make.bash " + minSdkVersion
|
||||
environment "ANDROID_HOME", android.sdkDirectory
|
||||
environment "ANDROID_NDK_HOME", android.ndkDirectory
|
||||
}
|
||||
}
|
||||
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
|
||||
|
|
Loading…
Reference in a new issue