aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-08-16 16:43:55 +1200
committerArslaan Pathan <[email protected]>2026-08-16 16:43:55 +1200
commitcca2765ee64df3247f32ca0d7eb07ed5a7ad868a (patch)
tree425f573573b4958261454006bc8a62a4dec8634a /app/build.gradle
parentd5e06f6dc6c39b750f0e01dc695a4ff7837ade67 (diff)
downloadmoku-assistant-cca2765ee64df3247f32ca0d7eb07ed5a7ad868a.tar.xz
moku-assistant-cca2765ee64df3247f32ca0d7eb07ed5a7ad868a.zip
[chore/migrate-cmake] replace Android.mk with CMake
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 4c3f133..bc9ec9b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -14,8 +14,8 @@ android {
versionName '1.0'
externalNativeBuild {
- ndkBuild {
- arguments '-j' + Runtime.runtime.availableProcessors()
+ cmake {
+ cppFlags ''
abiFilters 'arm64-v8a'
}
}
@@ -28,9 +28,13 @@ android {
}
}
+ buildFeatures {
+ prefab true
+ }
+
externalNativeBuild {
- ndkBuild {
- path 'src/main/jni/Android.mk'
+ cmake {
+ path 'src/main/jni/CMakeLists.txt'
}
}
@@ -42,5 +46,5 @@ android {
}
dependencies {
-
+ implementation 'com.alphacephei:vosk-android:0.3.75'
}