64 lines
1.5 KiB
Groovy
64 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
id 'kotlin-android-extensions'
|
|
id 'kotlin-kapt'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.2"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
kapt {
|
|
arguments {
|
|
arg("AROUTER_MODULE_NAME", project.getName())
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
|
|
buildFeatures {
|
|
dataBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
|
|
api project(path: ':lib_base')
|
|
|
|
kapt 'com.alibaba:arouter-compiler:1.2.2'
|
|
|
|
//智齿客服
|
|
implementation project(path: ':lib_sobot')
|
|
//智齿客服 在使用4.9.0以上版本的glide时,需额外添加依赖
|
|
implementation 'com.sobot.chat:sobotsupport-glidev4:1.0.10'
|
|
|
|
|
|
//来鼓客服
|
|
implementation 'com.laigu:laigusdk:3.6.3'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0' // androidx 使用
|
|
} |