Commit 3396078b authored by Mygod's avatar Mygod

Update NDK

parent 833b35e7
...@@ -3,7 +3,7 @@ jobs: ...@@ -3,7 +3,7 @@ jobs:
build: build:
working_directory: ~/code working_directory: ~/code
docker: docker:
- image: shadowsocks/android-ndk-go:v1.0 - image: shadowsocks/android-ndk-go
environment: environment:
GRADLE_OPTS: -Dorg.gradle.workers.max=1 -Dorg.gradle.daemon=false -Dkotlin.compiler.execution.strategy="in-process" GRADLE_OPTS: -Dorg.gradle.workers.max=1 -Dorg.gradle.daemon=false -Dkotlin.compiler.execution.strategy="in-process"
steps: steps:
......
...@@ -32,7 +32,7 @@ You can check whether the latest commit builds under UNIX environment by checkin ...@@ -32,7 +32,7 @@ You can check whether the latest commit builds under UNIX environment by checkin
### BUILD WITH DOCKER ### BUILD WITH DOCKER
* Clone the repo using `git clone --recurse-submodules <repo>` or update submodules using `git submodule update --init --recursive` * Clone the repo using `git clone --recurse-submodules <repo>` or update submodules using `git submodule update --init --recursive`
* Run `docker run --rm -v ${PWD}:/build -w /build shadowsocks/android-ndk-go bash -c "./gradlew assembleDebug"` * Run `docker run --rm -v ${PWD}:/build -w /build shadowsocks/android-ndk-go ./gradlew assembleDebug`
### CONTRIBUTING ### CONTRIBUTING
......
...@@ -26,6 +26,7 @@ android { ...@@ -26,6 +26,7 @@ android {
} }
externalNativeBuild.ndkBuild.path("src/main/jni/Android.mk") externalNativeBuild.ndkBuild.path("src/main/jni/Android.mk")
ndkVersion = "21.1.6352462"
sourceSets.getByName("androidTest") { sourceSets.getByName("androidTest") {
assets.setSrcDirs(assets.srcDirs + files("$projectDir/schemas")) assets.setSrcDirs(assets.srcDirs + files("$projectDir/schemas"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment