// +---------------------------------------------------------------------- // | Created by Yunbao // +---------------------------------------------------------------------- // | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved. // +---------------------------------------------------------------------- // | Author: https://gitee.com/yunbaokji/ // +---------------------------------------------------------------------- // | Date: 2022-02-17 // +---------------------------------------------------------------------- apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.android.compileSdkVersion buildToolsVersion rootProject.ext.android.buildToolsVersion defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion versionCode rootProject.ext.android.versionCode versionName rootProject.ext.android.versionName manifestPlaceholders = rootProject.ext.manifestPlaceholders ndk { abiFilters "armeabi-v7a", "arm64-v8a" } } aaptOptions { cruncherEnabled = false useNewCruncher = false } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } repositories { flatDir { dirs 'libs', '../libs' } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile rootProject.ext.dependencies["appcompat-v7"] compile rootProject.ext.dependencies["recyclerview-v7"] compile rootProject.ext.dependencies["cardview-v7"] compile rootProject.ext.dependencies["design"] compile rootProject.ext.dependencies["multidex"] compile files('../libs/commons-io-1.4.jar') //okHttp网络请求 compile rootProject.ext.dependencies["okhttp"] //OkGo 是对okHttp的封装 compile rootProject.ext.dependencies["okgo"] //OkGo上传下载扩展库 compile rootProject.ext.dependencies["okserver"] //fastJson解析json compile rootProject.ext.dependencies["fastjson"] //eventbus事件总线 compile rootProject.ext.dependencies["eventbus"] //使用Glide加载图片 compile rootProject.ext.dependencies["glide"] //一个基于Glide的transformation库,拥有裁剪,着色,模糊,滤镜等多种转换效果 compile rootProject.ext.dependencies["glide-transformations"] //带圆角,边框的的ImageView compile rootProject.ext.dependencies["roundedimageview"] //gif库,播放礼物gif用 compile rootProject.ext.dependencies["gif-drawable"] //svga播放器 compile rootProject.ext.dependencies["SVGAPlayer"] //七牛云存储 compile rootProject.ext.dependencies["qiniu-sdk"] //微信sdk,支付登录分享 compile rootProject.ext.dependencies["tencent-wechat-sdk"] //图片裁剪 compile rootProject.ext.dependencies["ucrop"] //支付宝sdk compile files('libs/alipaySdk-20180601.jar') //下拉刷新上拉加载 compile rootProject.ext.dependencies["smartRefreshLayout"] //ViewPager指示器 compile rootProject.ext.dependencies["magicIndicator"] compile project(':mob') //轮播图 compile rootProject.ext.dependencies["banner"] //鲁班 compile rootProject.ext.dependencies["Luban"] //一个Picker控件,选择日期,城市用 compile files('libs/AndroidPicker-1.5.6.jar') compile 'com.google.android:flexbox:1.0.0' compile 'com.squareup.picasso:picasso:2.5.2' //腾讯云sdk compile files('libs/liteavsdk.jar') }