diff options
| author | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-09-24 12:34:05 -0400 |
|---|---|---|
| committer | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-09-24 12:34:05 -0400 |
| commit | 62ae21cc690e9be31c542cf32b69e9bacddba6d6 (patch) | |
| tree | a72ff2a4341f9ee44493e0e4814d50bbd8db6ed6 /app/build.gradle.kts | |
| download | reccoon-62ae21cc690e9be31c542cf32b69e9bacddba6d6.tar.gz | |
RECCoon 1.1.0-alpha: WAV recorder, library, scrubber player, on-device Whisper transcription (EN/IT)
Diffstat (limited to 'app/build.gradle.kts')
| -rw-r--r-- | app/build.gradle.kts | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 0000000..a786c44 --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,63 @@ +plugins { + id("com.android.application") +} + +android { + namespace = "com.wuhei.reccoon" + + compileSdk { + version = release(37) { + minorApiLevel = 0 + } + } + + defaultConfig { + applicationId = "com.wuhei.reccoon" + minSdk = 26 + targetSdk = 35 + versionCode = 2 + versionName = "1.1.0-alpha" + + ndk { + // Prebuilt sherpa-onnx / onnxruntime native libraries. + abiFilters += listOf("arm64-v8a", "x86_64") + } + } + + buildTypes { + debug { + isMinifyEnabled = false + } + release { + isMinifyEnabled = false + signingConfig = signingConfigs.getByName("debug") + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + + packaging { + jniLibs { + useLegacyPackaging = false + } + } +} + +dependencies { + implementation("androidx.appcompat:appcompat:1.8.0") + implementation("androidx.constraintlayout:constraintlayout:2.2.2") + implementation("androidx.recyclerview:recyclerview:1.4.0") + + // 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")) +} |
