add photo
This commit is contained in:
@@ -4,6 +4,8 @@ plugins {
|
||||
id 'kotlin-kapt'
|
||||
}
|
||||
|
||||
def oneSentenceAsrAar = file('libs/asr-one-sentence-release.aar')
|
||||
|
||||
kapt {
|
||||
// Room uses javac stubs under kapt; keep parameter names for :bind variables.
|
||||
javacOptions {
|
||||
@@ -62,6 +64,9 @@ android {
|
||||
buildConfigField "String", "LLM_MODEL", "\"${(project.findProperty('LLM_MODEL') ?: 'doubao-1-5-pro-32k-character-250228').toString()}\""
|
||||
buildConfigField "boolean", "USE_LIVE2D", "${(project.findProperty('USE_LIVE2D') ?: 'true').toString()}"
|
||||
|
||||
// 腾讯云「一句话识别」Android SDK:将 asr-one-sentence-release.aar 放入 app/libs/ 后为 true
|
||||
buildConfigField "boolean", "HAS_TENCENT_ASR_SDK", "${oneSentenceAsrAar.exists()}"
|
||||
|
||||
ndk {
|
||||
abiFilters "arm64-v8a"
|
||||
}
|
||||
@@ -119,4 +124,6 @@ dependencies {
|
||||
implementation 'com.google.guava:guava:31.1-android'
|
||||
implementation 'org.ejml:ejml-core:0.43.1'
|
||||
implementation 'org.ejml:ejml-simple:0.43.1'
|
||||
|
||||
// 腾讯云「一句话识别」通过 OkHttp 直接实现 TC3 签名,无需 AAR SDK
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user