|
|
@@ -1,7 +1,10 @@
|
|
|
plugins {
|
|
|
id 'com.android.application'
|
|
|
+ id 'kotlin-android'
|
|
|
}
|
|
|
|
|
|
+apply plugin: 'kotlin-android-extensions'
|
|
|
+
|
|
|
android {
|
|
|
signingConfigs {
|
|
|
udapda {
|
|
|
@@ -51,7 +54,12 @@ android {
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
}
|
|
|
-
|
|
|
+// buildFeatures {
|
|
|
+// viewBinding true
|
|
|
+// }
|
|
|
+// kotlinOptions {
|
|
|
+// jvmTarget = '1.8'
|
|
|
+// }
|
|
|
packagingOptions {
|
|
|
exclude 'META-INF/LICENSE.txt'
|
|
|
exclude 'META-INF/NOTICE.txt'
|
|
|
@@ -98,7 +106,6 @@ dependencies {
|
|
|
// implementation deps.appcompatV7
|
|
|
// implementation deps.recyclerview
|
|
|
|
|
|
-
|
|
|
implementation deps.stetho
|
|
|
implementation deps.fastjson
|
|
|
implementation deps.xUtils
|
|
|
@@ -112,9 +119,6 @@ dependencies {
|
|
|
// implementation deps.permisson //权限不在兼容
|
|
|
implementation deps.basePopup
|
|
|
implementation deps.smartTable
|
|
|
- implementation 'com.umeng.umsdk:common:9.4.0'// 必选
|
|
|
- implementation 'com.umeng.umsdk:asms:1.2.3'// 必选
|
|
|
- implementation 'com.umeng.umsdk:apm:1.4.0' // 错误分析升级为独立SDK,看crash数据请一定集成,可选
|
|
|
|
|
|
|
|
|
// implementation "io.github.cymchad:BaseRecyclerViewAdapterHelper:3.0.14"
|
|
|
@@ -133,8 +137,13 @@ dependencies {
|
|
|
implementation 'io.github.scwang90:refresh-layout-kernel:3.0.0-alpha' //列表核心必须依赖
|
|
|
implementation 'io.github.scwang90:refresh-header-classics:3.0.0-alpha' //列表经典刷新头
|
|
|
|
|
|
+ // 友盟基础组件库(所有友盟业务SDK都依赖基础组件库)
|
|
|
+ implementation 'com.umeng.umsdk:common:9.4.4' //(必选)
|
|
|
+ implementation 'com.umeng.umsdk:asms:1.4.1' // asms包依赖(必选)
|
|
|
+ implementation 'com.umeng.umsdk:apm:1.5.2' // U-APM包依赖(必选) 错误分析升级为独立SDK,看crash数据请一定集成
|
|
|
+
|
|
|
//权限工具
|
|
|
implementation 'com.permissionx.guolindev:permissionx:1.3.0'
|
|
|
|
|
|
-
|
|
|
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
}
|