Add app/build.gradle.kts
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
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")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user