summaryrefslogtreecommitdiff
path: root/platform/android/java/nativeSrcsConfigs
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2021-01-05 13:40:42 -0800
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2021-01-05 15:07:17 -0800
commiteee213e01a26054906fd07423f3620c98b786956 (patch)
tree85b111cf4992c9805474ac9ca76fc42fff05e9ae /platform/android/java/nativeSrcsConfigs
parent9d6df31b84accb5ba0ac370c902c12d778b76ce9 (diff)
Improve the logic to compile for Android by automatically detecting and setting up the Android NDK if needed.
Diffstat (limited to 'platform/android/java/nativeSrcsConfigs')
-rw-r--r--platform/android/java/nativeSrcsConfigs/build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/java/nativeSrcsConfigs/build.gradle b/platform/android/java/nativeSrcsConfigs/build.gradle
index 65b7bb9dc9..66077060ea 100644
--- a/platform/android/java/nativeSrcsConfigs/build.gradle
+++ b/platform/android/java/nativeSrcsConfigs/build.gradle
@@ -31,6 +31,8 @@ android {
}
}
+ ndkVersion versions.ndkVersion
+
externalNativeBuild {
cmake {
path "CMakeLists.txt"