apply plugin: 'com.android.application'
|
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android-extensions'
|
|
android {
|
compileSdkVersion 29
|
buildToolsVersion "29.0.3"
|
packagingOptions {
|
exclude 'META-INF/*'
|
exclude 'META-INF/NOTICE' // will not include NOTICE file
|
exclude 'META-INF/LICENSE' // will not include LICENSE file
|
exclude 'META-INF/INDEX.LIST' // will not include INDEX.LIST file
|
}
|
signingConfigs {
|
config {
|
keyAlias 'fanghua'
|
keyPassword 'sinata'
|
storeFile file('fanghua.jks')
|
storePassword 'sinata'
|
}
|
}
|
|
defaultConfig {
|
applicationId "com.fanghua.driver"
|
minSdkVersion 21
|
targetSdkVersion 26
|
versionCode 1
|
versionName "1.0"
|
multiDexEnabled true
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
manifestPlaceholders = [
|
JPUSH_PKGNAME: applicationId,
|
JPUSH_APPKEY : "2a6ea3202708396172b05d04", //JPush 上注册的包名对应的 Appkey.
|
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
]
|
|
ndk {
|
abiFilters "armeabi","armeabi-v7a"
|
}
|
}
|
|
buildTypes {
|
release {
|
minifyEnabled false
|
zipAlignEnabled true
|
signingConfig signingConfigs.config
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
applicationVariants.all { variant ->
|
// 更新至Android Studio 3.3 gradle 4.10.1
|
variant.outputs.all {
|
outputFileName = "fanghuadaijia-${defaultConfig.versionName}-${new Date().format("yyyy-MM-dd" , TimeZone.getTimeZone("GMT+08")) }.apk"
|
}
|
}
|
}
|
debug {
|
minifyEnabled false
|
zipAlignEnabled true
|
signingConfig signingConfigs.config
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
}
|
}
|
|
compileOptions {
|
sourceCompatibility = '1.8'
|
targetCompatibility = '1.8'
|
}
|
|
lintOptions {
|
checkReleaseBuilds false
|
abortOnError false
|
}
|
|
}
|
|
|
repositories {
|
flatDir {
|
dirs 'libs'
|
}
|
}
|
|
|
dependencies {
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
implementation(name: 'alipaySdk-15.7.5-20200422171619', ext: 'aar')
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.0'
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
implementation 'androidx.core:core-ktx:1.2.0'
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
testImplementation 'junit:junit:4.12'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
implementation project(path: ':xldUtils')
|
implementation 'com.google.code.gson:gson:2.8.5'
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
implementation 'com.mobsandgeeks:android-saripaar:2.0.0'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'com.github.zackratos.ultimatebar:ultimatebar3:3.1.1'
|
implementation 'com.aliyun.dpa:oss-android-sdk:2.9.2'
|
implementation 'org.greenrobot:eventbus:3.1.1'
|
implementation 'com.github.bumptech.glide:glide:4.9.0'
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
|
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
|
implementation 'com.google.android.material:material:1.1.0'
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
implementation 'com.github.xuexiangjys:XUI:1.1.3'
|
implementation 'pub.devrel:easypermissions:1.3.0'
|
implementation 'liji.library.dev:citypickerview:5.2.1'
|
implementation 'com.ypx.yimagepicker:androidx:3.1.3'
|
implementation files('libs/umeng-common-2.2.5.jar')
|
implementation files('libs/umeng-share-core-7.0.0.jar')
|
implementation files('libs/umeng-share-QQ-simplify-7.0.0.jar')
|
implementation files('libs/umeng-share-wechat-simplify-7.0.0.jar')
|
implementation project(path: ':rxnetty')
|
implementation files('libs/AMap3DMap_7.4.0_AMapNavi_7.4.0_AMapSearch_7.3.0_AMapTrack_1.3.0_AMapLocation_4.9.0_20200426.jar')
|
implementation files('libs/Sunflower.jar')
|
implementation files('libs/Msc.jar')
|
implementation 'com.wang.avi:library:2.1.3'
|
implementation 'com.github.mcxtzhang:SwipeDelMenuLayout:V1.3.0'
|
implementation 'com.google.zxing:core:3.3.0'
|
implementation 'cn.jiguang.sdk:jpush:3.6.6' // 此处以JPush 3.6.6 版本为例。
|
implementation 'cn.jiguang.sdk:jcore:2.3.8' // 此处以JCore 2.3.8 版本为例。
|
implementation 'com.tencent.bugly:crashreport:3.1.0'
|
implementation 'com.tencent.bugly:nativecrashreport:3.1.0'
|
implementation 'com.huaweicloud:esdk-obs-android:3.21.12'
|
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
|
implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
|
//http日志拦截器
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'
|
implementation 'com.youth.banner:banner:2.1.0'
|
//融云 云录制使用
|
implementation 'cn.rongcloud.sdk:im_lib:5.1.9.7' // 即时通讯基础能力库
|
implementation 'cn.rongcloud.sdk:rtc_lib:5.1.17.1' // 音视频通话基础能力库
|
}
|