43 lines
909 B
Groovy
43 lines
909 B
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.ttstd.tts.engine'
|
|
compileSdk 37
|
|
|
|
defaultConfig {
|
|
applicationId 'com.ttstd.tts.engine'
|
|
minSdk 23
|
|
targetSdk 37
|
|
versionCode 1
|
|
versionName '0.1.0'
|
|
|
|
ndk {
|
|
abiFilters 'arm64-v8a'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
lint {
|
|
abortOnError true
|
|
checkReleaseBuilds = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'junit:junit:4.13.2'
|
|
implementation files('libs/sherpa-onnx-2.0.1.aar')
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.2.21'
|
|
} |