|
|
@@ -45,14 +45,14 @@ android {
|
|
|
ndkVersion '22.1.7171670'
|
|
|
ndk {
|
|
|
//选择要添加的对应 cpu 类型的 .so 库。
|
|
|
- abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a','x86', 'x86_64'
|
|
|
+ abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
|
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
|
|
|
}
|
|
|
|
|
|
manifestPlaceholders = [
|
|
|
- JPUSH_PKGNAME : applicationId,
|
|
|
+ JPUSH_PKGNAME: applicationId,
|
|
|
JPUSH_APPKEY : "d353d35b7a05a9d6a353c33e", //JPush 上注册的包名对应的 Appkey.
|
|
|
- JPUSH_CHANNEL : "developer-default", //暂时填写默认值即可.
|
|
|
+ JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
|
|
]
|
|
|
}
|
|
|
|
|
|
@@ -104,10 +104,10 @@ dependencies {
|
|
|
implementation project(path: ':baselib')
|
|
|
implementation project(path: ':webview')
|
|
|
implementation project(path: ':setting')
|
|
|
- implementation project(path:':workbenches')
|
|
|
- implementation project(path:':speech')
|
|
|
- implementation project(path:':personalcenter')
|
|
|
- implementation project(path:':livebroadcast')
|
|
|
+ implementation project(path: ':workbenches')
|
|
|
+ implementation project(path: ':speech')
|
|
|
+ implementation project(path: ':personalcenter')
|
|
|
+ implementation project(path: ':livebroadcast')
|
|
|
|
|
|
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
|
|
implementation(rootProject.ext.androidx.kotlin_lib)
|
|
|
@@ -115,9 +115,9 @@ dependencies {
|
|
|
implementation(rootProject.ext.androidx.appcompat)
|
|
|
implementation(rootProject.ext.androidx.material)
|
|
|
implementation(rootProject.ext.androidx.constraintlayout)
|
|
|
- testApi( rootProject.ext.androidx.junit)
|
|
|
- androidTestApi( rootProject.ext.androidx.runner)
|
|
|
- androidTestApi( rootProject.ext.androidx.espresso_core)
|
|
|
+ testApi(rootProject.ext.androidx.junit)
|
|
|
+ androidTestApi(rootProject.ext.androidx.runner)
|
|
|
+ androidTestApi(rootProject.ext.androidx.espresso_core)
|
|
|
// 此处以JPush 5.0.0 版本为例,5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置
|
|
|
- implementation 'cn.jiguang.sdk:jpush:5.0.0'
|
|
|
+ implementation (rootProject.ext.dependencies.jpush)
|
|
|
}
|