发布
This commit is contained in:
@@ -65,6 +65,11 @@ SDK_NATIVE_VERSION=1.4.7.49.18-debug
|
|||||||
UPLOAD_PLUGIN_VERSION=1.4.7.49.18-debug
|
UPLOAD_PLUGIN_VERSION=1.4.7.49.18-debug
|
||||||
|
|
||||||
|
|
||||||
|
TTS_BASE_VERSION=1.0.0.1
|
||||||
|
TTS_MOGO_VERSION=1.0.0.1
|
||||||
|
TTS_IFLYTEK_OFFLINE_VERSION=1.0.0.1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# for vanniktech
|
# for vanniktech
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
GROUP=com.mogo.cloud
|
GROUP=com.mogo.cloud
|
||||||
POM_ARTIFACT_ID=tts-base
|
POM_ARTIFACT_ID=ttsbase
|
||||||
VERSION_CODE=1
|
VERSION_CODE=1
|
||||||
VERSION_NAME=1.0.1-SNAPSHOT
|
VERSION_NAME=1.0.1-SNAPSHOT
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
package com.mogo.tts.utils
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
|
|
||||||
|
class ApkUtils {
|
||||||
|
companion object{
|
||||||
|
@JvmStatic
|
||||||
|
fun isInstallAppStore(ctx: Context): Boolean {
|
||||||
|
return try {
|
||||||
|
val installedPackages = ctx.packageManager.getInstalledPackages(0)
|
||||||
|
installedPackages.find { it.packageName == "com.mogo.tts" } != null
|
||||||
|
} catch (t: Throwable) {
|
||||||
|
false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -30,7 +30,12 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||||
implementation project(":libraries:mogo-tts:tts-base")
|
if (Boolean.valueOf(RELEASE)) {
|
||||||
|
implementation "com.mogo.cloud:ttsbase:${TTS_BASE_VERSION}"
|
||||||
|
}else {
|
||||||
|
implementation(project(":libraries:mogo-tts:tts-base"))
|
||||||
|
}
|
||||||
|
|
||||||
implementation files('libs/AIKit.aar')
|
implementation files('libs/AIKit.aar')
|
||||||
implementation rootProject.ext.dependencies.androidxappcompat
|
implementation rootProject.ext.dependencies.androidxappcompat
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
GROUP=com.mogo.cloud
|
GROUP=com.mogo.cloud
|
||||||
POM_ARTIFACT_ID=tts-iflytek-offline
|
POM_ARTIFACT_ID=ttsiflytekoffline
|
||||||
VERSION_CODE=1
|
VERSION_CODE=1
|
||||||
VERSION_NAME=1.0.1-SNAPSHOT
|
VERSION_NAME=1.0.1-SNAPSHOT
|
||||||
@@ -32,7 +32,12 @@ dependencies {
|
|||||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||||
implementation rootProject.ext.dependencies.androidxappcompat
|
implementation rootProject.ext.dependencies.androidxappcompat
|
||||||
|
|
||||||
|
if (Boolean.valueOf(RELEASE)) {
|
||||||
|
implementation "com.mogo.cloud:ttsbase:${TTS_BASE_VERSION}"
|
||||||
|
}else {
|
||||||
implementation(project(":libraries:mogo-tts:tts-base"))
|
implementation(project(":libraries:mogo-tts:tts-base"))
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
GROUP=com.mogo.cloud
|
GROUP=com.mogo.cloud
|
||||||
POM_ARTIFACT_ID=tts-mogo
|
POM_ARTIFACT_ID=ttsmogo
|
||||||
VERSION_CODE=1
|
VERSION_CODE=1
|
||||||
VERSION_NAME=1.0.1-SNAPSHOT
|
VERSION_NAME=1.0.1-SNAPSHOT
|
||||||
Reference in New Issue
Block a user