summaryrefslogtreecommitdiff
path: root/app/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle.kts')
-rw-r--r--app/build.gradle.kts19
1 files changed, 11 insertions, 8 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 1e4768a..1f5fb20 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -3,7 +3,7 @@ plugins {
}
android {
- namespace = "com.wuhei.reccoon"
+ namespace = "com.tomcooks.reccoon"
compileSdk {
version = release(37) {
@@ -12,15 +12,16 @@ android {
}
defaultConfig {
- applicationId = "com.wuhei.reccoon"
+ applicationId = "com.tomcooks.reccoon"
minSdk = 26
targetSdk = 35
- versionCode = 6
- versionName = "1.4.0-alpha"
+ versionCode = 1
+ versionName = "1.0.0"
ndk {
- // Prebuilt sherpa-onnx / onnxruntime native libraries.
- abiFilters += listOf("arm64-v8a", "x86_64")
+ // Prebuilt sherpa-onnx / onnxruntime native libraries. Only arm64 is
+ // shipped; x86_64 was only useful for emulators and doubled the APK.
+ abiFilters += listOf("arm64-v8a")
}
}
@@ -58,8 +59,10 @@ dependencies {
// Kotlin runtime required by the sherpa-onnx Kotlin API.
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.4.20")
- // On-device speech recognition (Whisper multilingual: English + Italian).
- implementation(files("libs/sherpa-onnx-1.13.8.aar"))
+ // On-device speech recognition runtime (loads the Parakeet ONNX graphs).
+ // Pulled from JitPack (an F-Droid-trusted Maven repository) so no prebuilt
+ // binary has to live in this repo. Byte-identical to the official AAR.
+ implementation("com.github.k2-fsa.sherpa-onnx:sherpa-onnx:1.13.8@aar")
testImplementation("junit:junit:4.13.2")
}