Files
meetrec/android/core/whisper/build.gradle.kts
T
fegger 404f3db200 Add native Android app scaffold (M0): whisper.cpp engine via JNI
- android/: Gradle/Kotlin project (AGP 9.4, Compose, NDK 27.1), monorepo
  subdir as planned; whisper.cpp v1.9.3 vendored via pinned fetch script
- core/whisper: JNI wrapper (beam size, threads, language) + WhisperEngine
  Kotlin API mirroring the desktop engine contract
- app (M0 scope): in-app GGML model download from Hugging Face, engine
  load, WAV picker with resampling, on-device transcription, share sheet
- build validated: assembleDebug OK, libwhisper_jni.so + ggml packaged
2026-09-07 11:00:31 +02:00

30 lines
622 B
Kotlin

plugins {
alias(libs.plugins.android.library)
}
android {
namespace = "com.meetrec.core.whisper"
compileSdk = 36
defaultConfig {
minSdk = 29
ndk {
// Fairphone 6 (and virtually all current phones) are arm64.
abiFilters += "arm64-v8a"
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
}
}
ndkVersion = "27.1.12297006"
}