123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- apply plugin: 'com.android.application'
- apply plugin: 'org.greenrobot.greendao'
- android {
- signingConfigs {
- config {
- storeFile file('../liedouyx')
- storePassword '123456'
- keyAlias 'liedouyx'
- keyPassword '123456'
- }
- }
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- applicationId "com.kx.liedouYX"
- minSdkVersion 19
- targetSdkVersion 30
- versionCode 118
- versionName "1.0.18"
- ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
- multiDexEnabled true
- // signingConfig signingConfigs.config
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.config
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.config
- }
- }
- compileOptions {
- sourceCompatibility 1.8
- targetCompatibility 1.8
- }
- // 友盟多渠道打包
- productFlavors {
- huawei {}
- xiaomi {}
- oppo {}
- vivo {}
- }
- productFlavors.all { flavor ->
- flavor.manifestPlaceholders = [UMENG_CHANNEL_VALUE: name]
- }
- flavorDimensions 'versionCode'
- }
- greendao {
- schemaVersion 4 //当前数据库版本
- daoPackage 'com.kx.liedouYX.db.dao'
- targetGenDir 'src/main/java'
- }
- repositories {
- flatDir {
- dirs 'libs', '../libs'
- }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation fileTree(include: ['*.aar'], dir: 'libs/common/common_android_9.6.6')
- implementation 'androidx.appcompat:appcompat:1.0.2'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- implementation 'com.google.android.material:material:1.0.2'
- //butterknife
- implementation 'com.jakewharton:butterknife:10.2.1'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
- //RxJava依赖
- implementation 'io.reactivex.rxjava2:rxjava:2.1.3'
- implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
- //rxbinding
- implementation 'com.jakewharton.rxbinding2:rxbinding:2.2.0'
- // okhttp3依赖
- implementation 'com.squareup.okhttp3:okhttp:3.12.2'
- //日志拦截器依赖
- implementation 'com.squareup.okhttp3:logging-interceptor:3.5.0'
- // retrofit依赖
- implementation 'com.squareup.retrofit2:retrofit:2.5.0'
- //gson转换器依赖
- implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
- // RxJava和Retrofit混用的适配器
- implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
- //gson依赖
- implementation 'com.google.code.gson:gson:2.8.5'
- //用于自动绑定生命周期
- implementation 'com.uber.autodispose:autodispose-android-archcomponents:1.0.0-RC2'
- //本地核心库
- implementation project(path: ':lib_core')
- //eventbus
- implementation 'org.greenrobot:eventbus:3.3.1'
- //轮播控件
- implementation 'io.github.youth5201314:banner:2.2.2'
- //添加StatusBarUtil的依赖
- implementation 'com.jaeger.statusbarutil:library:1.5.1'
- //仿iOS加载等待dialog
- // implementation 'com.github.gittjy:LoadingDialog:1.0.2'
- // implementation 'com.github.BenShanYang:LoadingDialog:1.0.1'
- //指示器
- // implementation 'com.github.hackware1993:MagicIndicator:1.7.0'
- // greendao 数据库
- implementation 'org.greenrobot:greendao:3.2.2'
- //glide https://blog.csdn.net/qq_21154101/article/details/95103799
- annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
- implementation 'com.github.bumptech.glide:glide:4.14.2'
- implementation 'jp.wasabeef:glide-transformations:2.0.1'
- //上拉加载和下拉刷新控件 https://blog.csdn.net/qq_37328546/article/details/126478991
- implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.3'
- // 没有使用特殊Header,可以不加这一依赖
- implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.3'
- // Java language implementation
- implementation 'androidx.core:core:1.3.2'
- //较全的弹窗
- implementation 'com.github.li-xiaojun:XPopup:2.6.8'
- implementation 'com.github.adnan-SM:TimelyTextView:1.0'
- //仿iOS滚动选择控件库
- implementation project(':pickerview_library')
- implementation 'androidx.multidex:multidex:2.0.1'
- //exoplayer
- api 'com.google.android.exoplayer:exoplayer:2.11.3'
- //video cache
- api 'com.danikula:videocache:2.7.1'
- //微信sdk
- api 'com.tencent.mm.opensdk:wechat-sdk-android:+'
- //zxing的core库
- implementation 'com.google.zxing:core:3.5.1'
- //zxing
- implementation 'com.google.zxing:zxing-parent:3.5.1'
- //zxing
- implementation 'com.journeyapps:zxing-android-embedded:4.1.0'
- //图片大图预览
- implementation 'com.ycjiang:ImagePreview:2.3.7'
- //淘宝sdk
- implementation(name: 'alibclogin-5.0.1.9', ext: 'aar')
- // applink
- implementation(name: 'alibcapplink-5.0.1.9', ext: 'aar')
- // 广告SDK
- implementation(name: 'alibcad-5.0.1.9', ext: 'aar')
- // 小程序
- implementation(name: 'alibctriver-5.0.1.9', ext: 'aar')
- // c++基础库(如果工程中没有接入该so包:libc++_shared.so,需要接入该sdk)
- implementation(name: 'cpp_shared-0.0.3', ext: 'aar')
- // 直播
- implementation(name: 'alibctriver_live-5.0.1.9', ext: 'aar')
- // 直播业务需要cardview
- implementation 'com.android.support:cardview-v7:28.0.0'
- // webview容器
- implementation(name: 'alibcwebview-5.0.1.9', ext: 'aar')
- //文字动画显示,用粒子动画显示各种文字
- implementation 'yasic.library.ParticleTextView:particletextview:0.0.3'
- // 电商基础组件
- implementation(name: 'alibctradecommon-5.0.1.9', ext: 'aar')
- implementation(name: 'alibcnbtrade-5.0.1.9', ext: 'aar')
- implementation(name: 'alibcprotocol-5.0.1.9', ext: 'aar')
- implementation 'com.alibaba:fastjson:1.1.71.android'
- // 该模块主要包括任务激励、TOP授权逻辑,媒体侧可根据自己业务上是否接入来决定是否需要引入该模块
- implementation(name: 'alibcextend-5.0.1.9', ext: 'aar')
- // 安全保镖v6版本
- implementation(name: 'miscaar3-5.5.9.1-preInstall', ext: 'aar')
- implementation(name: 'nocaptchaaar3-5.5.8.1-preInstall', ext: 'aar')
- implementation(name: 'sgmiddletieraar3-5.6.230509-preInstall', ext: 'aar')
- implementation(name: 'securitybodyaar3-5.6.230509-preInstall', ext: 'aar')
- implementation(name: 'securityguardaar3-5.6.230509-preInstall', ext: 'aar')
- // 其他(业务按需)
- implementation('com.facebook.fresco:fresco:0.10.0') {
- exclude(module: 'support-v4')
- }
- implementation project(path: ':magicindicator')
- implementation project(path: ':pre-loader')
- // 友盟统计SDK
- // implementation 'com.umeng.umsdk:common:9.6.5'// (必选)
- // implementation 'com.umeng.umsdk:asms:1.8.0'// 必选
- // implementation 'com.umeng.umsdk:uyumao:1.1.2'//使用U-App中ABTest能力,可选
- implementation files('libs/push/push_android_6.6.2/umeng-umdid-1.1.0.jar')
- implementation files('libs/push/push_android_6.6.2/umeng-alicloud_beacon-1.0.5.jar')
- implementation files('libs/push/push_android_6.6.2/umeng-alicloud-utils-2.0.0.1.jar')
- implementation files('libs/push/push_android_6.6.2/umeng-alicloud-httpdns-1.3.2.3.1.jar')
- implementation files('libs/push/push_android_6.6.2/umeng-agoo_networksdk-3.5.8.7.jar')
- implementation files('libs/push/push_android_6.6.2/umeng-agoo-accs-3.4.2.7.9.jar')
- }
|