LocalSTT/app/build.gradle

48 lines
1.1 KiB
Groovy
Raw Normal View History

2020-11-20 01:49:02 +04:00
apply plugin: 'com.android.application'
repositories {
google()
2021-08-03 23:18:32 +04:00
mavenCentral()
2020-11-20 01:49:02 +04:00
maven {
2021-08-03 23:18:32 +04:00
url 'https://alphacephei.com/maven/'
2020-11-20 01:49:02 +04:00
}
2020-11-21 01:25:38 +04:00
maven {
url "https://jitpack.io"
}
2020-11-20 01:49:02 +04:00
}
android {
lintOptions {
abortOnError false
}
2020-11-20 01:49:02 +04:00
compileSdkVersion 30
defaultConfig {
applicationId "cat.oreilly.localstt"
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64', 'x86'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
2021-08-03 23:18:32 +04:00
implementation 'com.alphacephei:vosk-android:0.3.30'
2020-11-20 01:49:02 +04:00
implementation 'androidx.appcompat:appcompat:1.2.0'
2021-08-03 23:18:32 +04:00
implementation 'net.java.dev.jna:jna:5.8.0@aar'
implementation 'com.google.code.gson:gson:2.8.7'
2020-11-21 01:25:38 +04:00
implementation 'com.github.gkonovalov:android-vad:1.0.0'
}
ant.importBuild 'assets.xml'
preBuild.dependsOn(list, checksum)
clean.dependsOn(clean_assets)