1 Star 0 Fork 0

cyhgyq/PenResearch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.gradle 14.09 KB
一键复制 编辑 原始数据 按行查看 历史
hongyiyi 提交于 2022-05-17 16:49 . 上传
ext {
//android开发版本控制
android = [
compileSdkVersion: 31,
buildToolsVersion: "30.0.2",
applicationId : "com.jty.research",
minSdkVersion : 21,
targetSdkVersion : 30,
versionCode : 1,
versionName : "1.0.0",
]
//android配置
androidx = [
"constraintlayout" : 'androidx.constraintlayout:constraintlayout:2.0.2',
'appcompat' : 'androidx.appcompat:appcompat:1.2.0',
'design' : 'com.google.android.material:material:1.2.0',
"multidex" : 'androidx.multidex:multidex:2.0.0',
"annotation" : 'androidx.annotation:annotation:1.0.0',
"lifecycle-extensions": 'androidx.lifecycle:lifecycle-extensions:2.0.0',
"lifecycle-compiler" : 'androidx.lifecycle:lifecycle-compiler:2.0.0',
'junit' : "junit:junit:4.12",
'runner' : 'androidx.test.ext:junit:1.1.1',
'espresso-core' : 'androidx.test.espresso:espresso-core:3.1.0',
'kotlin_lib' : "org.jetbrains.kotlin:kotlin-stdlib:1.3.72",
'kotlin_core' : "androidx.core:core-ktx:1.3.2"
]
//version配置
versions = [
"support-version" : "1.0.0",
"junit-version" : "4.12",
"koin-version" : "2.2.0",
"nav_version" : "2.3.5",
"qmui_arch_version": '2.0.0-alpha10',
"room_version" :'2.2.5',
"test_core_version" : "1.3.0",
"ext_junit_version" : '1.1.1',
"test_runner_version" : "1.3.0",
"espresso_version" : "3.3.0",
"junit_version" : '4.13.2',
]
//support配置
support = [
'support-v4' : "androidx.legacy:legacy-support-v4:${versions["support-version"]}",
'recyclerview-v7' : "androidx.recyclerview:recyclerview:${versions["support-version"]}",
'support-v13' : "androidx.legacy:legacy-support-v13:${versions["support-version"]}",
'animated-vector-drawable': "androidx.vectordrawable:vectordrawable-animated:${versions["support-version"]}",
'junit' : "junit:junit:${versions["junit-version"]}",
]
//依赖第三方配置
dependencies = [
//阿里路由框架
"arouter_api" : "com.alibaba:arouter-api:1.4.1",
"arouter_compiler" : "com.alibaba:arouter-compiler:1.2.2",
//蒲公英sdk 应用升级
"pgy_sdk" : 'com.pgyersdk:sdk:3.0.10',
//rxjava
"rxjava" : "io.reactivex.rxjava2:rxjava:2.2.3",
"rxandroid" : "io.reactivex.rxjava2:rxandroid:2.1.0",
//rx系列与View生命周期同步
"rxlifecycle" : "com.trello.rxlifecycle3:rxlifecycle:3.0.0",
"rxlifecycle-components" : "com.trello.rxlifecycle3:rxlifecycle-components:3.0.0",
//rxbinding
"rxbinding" : "com.jakewharton.rxbinding3:rxbinding:3.0.0",
//network
"okhttp" : "com.squareup.okhttp3:okhttp:3.10.0",
"retrofit" : "com.squareup.retrofit2:retrofit:2.4.0",
"converter-gson" : "com.squareup.retrofit2:converter-gson:2.4.0",
"adapter-rxjava" : "com.squareup.retrofit2:adapter-rxjava2:2.4.0",
//glide图片加载
"glide" : "com.github.bumptech.glide:glide:4.11.0",
"glide-compiler" : "com.github.bumptech.glide:compiler:4.11.0",
'glide-transfer' : 'jp.wasabeef:glide-transformations:4.3.0',
//json解析
"gson" : "com.google.code.gson:gson:2.8.5",
//material-dialogs
"material-dialogs-core" : "com.afollestad.material-dialogs:core:0.9.6.0",
"material-dialogs-commons" : "com.afollestad.material-dialogs:commons:0.9.6.0",
//recyclerview的databinding套装
"bindingcollectionadapter" : "me.tatarka.bindingcollectionadapter2:bindingcollectionadapter:4.0.0",
"bindingcollectionadapter-recyclerview": "me.tatarka.bindingcollectionadapter2:bindingcollectionadapter-recyclerview:4.0.0",
//Google AAC
"lifecycle-extensions" : "androidx.lifecycle:lifecycle-extensions:2.0.0",
"lifecycle-compiler" : "androidx.lifecycle:lifecycle-compiler:2.0.0",
//MVVMHabit
"MVVMHabit" : "com.github.goldze:MVVMHabit:3.1.3",
"toolbar" : "com.gyf.immersionbar:immersionbar:3.0.0",
'viewpager2' : 'me.tatarka.bindingcollectionadapter2:bindingcollectionadapter-viewpager2:4.0.0',
'koin_scope' : "org.koin:koin-androidx-scope:${versions["koin-version"]}",
'koin_viewmodel' : "org.koin:koin-androidx-viewmodel:${versions["koin-version"]}",
'koin_fragment' : "org.koin:koin-androidx-fragment:${versions["koin-version"]}",
'utils' : 'com.blankj:utilcodex:1.30.5',
'mmkv' : 'com.tencent:mmkv:1.0.23',
//消息总线
'livebus' : 'com.jeremyliao:live-event-bus-x:1.7.2',
//Fragment框架 单activity+多fragment场景
'fragmentationx' : "me.yokeyword:fragmentationx:1.0.2",
'swipeback' : "me.yokeyword:fragmentation-swipeback:1.3.7",
//权限检测框架
'permissionx' : 'com.permissionx.guolindev:permissionx:1.4.0',
// 内存泄漏检查
'leakcanary' : 'com.squareup.leakcanary:leakcanary-android:2.5',
//底部导航
'navigation' : 'com.ashokvarma.android:bottom-navigation-bar:2.2.0',
//轮播图
'banner' : 'com.youth.banner:banner:2.1.0',
//吐司
'toast' : 'com.github.GrenderG:Toasty:1.5.0',
//刷新框架
'refresh' : 'com.scwang.smart:refresh-layout-kernel:2.0.1',
'refresh-header' : 'com.scwang.smart:refresh-header-material:2.0.1',
'refresh-footer-ball' : 'com.scwang.smart:refresh-footer-ball:2.0.1',
'refresh-footer-classic' : 'com.scwang.smart:refresh-footer-classics:2.0.1',
//webview框架
'webview' : 'com.just.agentweb:agentweb-androidx:4.1.4',
//tab栏框架
'tablayout' : 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar',
//自动适配
//'autosize' : "me.jessyan:autosize:1.1.2",
//弹框
'xpopup' : 'com.lxj:xpopup:2.2.5',
'searchview' : 'com.github.mancj:MaterialSearchBar:0.8.5',
//遮照阴影效果
'shadowlayout' : 'com.github.lihangleo2:ShadowLayout:3.1.8',
// 骨架屏
'skeleton' : 'com.ethanhua:skeleton:1.1.2',
//适配器框架
'shimmer-recyclerView' : 'com.github.sharish:ShimmerRecyclerView:v1.3',
//数据库框架
// 'litepal' : 'org.litepal.guolindev:core:3.2.2',
//快速适配器
'adapter-helper' : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4',
//注解
'animation' : 'com.daimajia.androidanimations:library:2.4@aar',
//二维码
'qrcode' : "cn.bingoogolapple:bga-qrcode-zxing:1.3.7",
//动画
'lottie' : 'com.airbnb.android:lottie:3.5.0',
//测滑删除框架
'swipe_menu' : "com.github.anzaizai:EasySwipeMenuLayout:1.1.4",
//圆角图片库
'round_imageview' : 'com.makeramen:roundedimageview:2.3.0',
//加载反馈页管理框架
'loadsir' : 'com.kingja.loadsir:loadsir:1.3.8',
//第三方加载动画框架
'loadingview' : 'com.github.ybq:Android-SpinKit:1.4.0',
//持续滑动布局框架(嵌套多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)
'ConsecutiveScroller' : 'com.github.donkingliang:ConsecutiveScroller:4.4.0',
//可伸缩性布局框架
'flexbox' : 'com.google.android:flexbox:2.0.1',
//二级联动列表控件
'linkage-recyclerview' : 'com.kunminx.linkage:linkage-recyclerview:2.1.5',
//滴滴功能集合面板
'dokitx' : 'com.didichuxing.doraemonkit:dokitx:3.3.5',
//日历框架
'calendarview' : 'com.haibin:calendarview:3.7.0',
//日期选择
'dialog-datetime' : 'com.afollestad.material-dialogs:datetime:3.3.0',
'dialog-lifecycle' : 'com.afollestad.material-dialogs:lifecycle:3.3.0',
//图片裁剪
'crop' : 'com.yalantis:ucrop:2.2.0',
//图片选择器
'matisse' : 'com.zhihu.android:matisse:0.5.3-beta3',
"photoPicker" : 'com.github.jdsjlzx:PhotoPicker:1.0.4',
//图片压缩
'luban' :'top.zibin:Luban:1.1.8',
//导航navigation
'navigation_fragment' : "androidx.navigation:navigation-fragment-ktx:${versions["koin-version"]}",
'navigation_ui' : "androidx.navigation:navigation-ui-ktx:${versions["nav_version"]}",
//协程
"coroutines_core" : "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3",
"coroutines_android" : 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2',
//Aria简单易用的下载框架
"aria_core" : 'com.arialyy.aria:core:3.8.15',
"aria_compiler_annotation" : 'com.arialyy.aria:compiler:3.8.15',
// "aria_ftpComponent" : 'com.arialyy.aria:ftpComponent:3.8.15' # 如果需要使用ftp , 请增加该组件
// "aria_sftpComponent" : 'com.arialyy.aria:sftpComponent:3.8.15' # 如果需要使用ftp , 请增加该组件
// "aria:m3u8Component" : 'com.arialyy.aria:m3u8Component:3.8.15' # 如果需要使用m3u8下载功能 , 请增加该组件
//图片库扩展框架
"coil" : 'com.github.forJrking:ImageExt:0.0.1',
//ui框架
"qmui" : 'com.qmuiteam:qmui:2.0.0-alpha10',
"qmui_compiler" : 'com.qmuiteam:arch-compiler:2.0.0-alpha10',
//room数据库
"room_compile" :"androidx.room:room-compiler:${versions["room_version"]}",
"room_runtime" :"androidx.room:room-runtime:${versions["room_version"]}",
"room_ktx" :"androidx.room:room-ktx:${versions["room_version"]}",
//url管理,处理应用配置多个baseurl
"url_manager" :"me.jessyan:retrofit-url-manager:1.4.0",
"logger" :"com.orhanobut:logger:2.2.0",
"DialogX" : "com.github.kongzue.dialogX:DialogX:0.0.41.beta14",
"pickerView" : "com.contrarywind:Android-PickerView:4.1.9",
//富文本
"rich_text" :"com.zzhoujay.richtext:richtext:3.0.3",
"oss" :'com.aliyun.dpa:oss-android-sdk:+',
//视屏播放器完整版引入
"video_player" : 'com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v8.1.9-release-jitpack',
//阿里云dns
"http_dns" :'com.aliyun.ams:alicloud-android-httpdns:1.2.5',
//声网 rct
"rtc_engine" :'io.agora.rtc:full-sdk:3.6.2',
"debug-db" :"com.amitshekhar.android:debug-db:1.0.6", //在线查看数据库
"circle_view" :'de.hdodenhof:circleimageview:3.1.0',
"JCamera" :"cjt.library.wheel:camera:1.1.9",
"bugly_sdk" : 'com.tencent.bugly:crashreport:latest.release', //其中latest.release指代最新Bugly SDK版本号,也可以指定明确的版本号,例如2.1.9
"bugly_ndk" : 'com.tencent.bugly:nativecrashreport:latest.release', //其中latest.release指代最新Bugly NDK版本号,也可以指定明确的版本号,例如3.0
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cyhgyq/pen-research.git
git@gitee.com:cyhgyq/pen-research.git
cyhgyq
pen-research
PenResearch
master

搜索帮助