- android-engine:TextToSpeechService 引擎,含设置页、语音包导入(SHA-256 校验)与预热 - server:Go CPU 合成服务与部署文件 - test-client:端到端验证客户端 - 模型与语音包不入库,见 models/README.md
42 lines
867 B
Groovy
42 lines
867 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 false
|
|
checkReleaseBuilds = false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation files('libs/sherpa-onnx-2.0.1.aar')
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.4.21'
|
|
} |