32 lines
982 B
Kotlin
32 lines
982 B
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
android {
|
|
namespace = "space.bloggin.scribe"
|
|
compileSdk = 34
|
|
defaultConfig {
|
|
applicationId = "space.bloggin.scribe"
|
|
minSdk = 26
|
|
targetSdk = 34
|
|
versionCode = 2
|
|
versionName = "0.2.0"
|
|
ndk { abiFilters += listOf("arm64-v8a", "armeabi-v7a") }
|
|
}
|
|
buildTypes {
|
|
release { isMinifyEnabled = false }
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions { jvmTarget = "17" }
|
|
androidResources { noCompress += listOf("mdl", "fst", "conf", "mat", "stats", "dubm", "ie", "int", "txt", "bin") }
|
|
packaging { jniLibs { useLegacyPackaging = true } }
|
|
}
|
|
dependencies {
|
|
implementation("net.java.dev.jna:jna:5.13.0@aar")
|
|
implementation("com.alphacephei:vosk-android:0.3.47")
|
|
implementation("androidx.core:core:1.13.1")
|
|
}
|