代码拉取完成,页面将自动刷新
allprojects {
repositories {
...
mavenCentral()
}
}
// 包含base、utils、clickablebg、rxjava2ex、rxjava3ex、widgets
implementation("com.licheedev:some-commonlibrary:1.0.19") {
// 根据需要,排除掉不需要的rxjava版本,可以两个同时排除掉
exclude group: 'com.licheedev', module: 'some-rxjava2ex'
exclude group: 'com.licheedev', module: 'some-rxjava3ex'
}
// 其他组件
implementation 'com.licheedev:some-clickablebg:1.0.0'
implementation 'com.licheedev:some-context:1.0.0'
implementation 'com.licheedev:some-labelview:1.0.2'
implementation 'com.licheedev:some-modifieddialogfragment:1.0.1'
implementation 'com.licheedev:some-rateview:1.0.1'
implementation 'com.licheedev:some-rxjava2ex:1.0.1'
implementation 'com.licheedev:some-rxjava3ex:1.0.1'
implementation 'com.licheedev:some-widgets:1.0.6'
implementation 'com.licheedev:some-utils:1.0.5'
implementation 'com.licheedev:some-statuslayout:1.0.2'
implementation 'com.licheedev:some-base:1.0.14'
编译失败就加入:
android {
...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
Jetpack
https://developer.android.google.cn/jetpack/androidx/explorer?hl=zh-cn
Lifecycle
数据绑定
https://developer.android.google.cn/topic/libraries/data-binding/start?hl=zh-cn
android {
...
dataBinding {
enabled = true
}
}
Glide
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
LogPlus
implementation 'com.licheedev:logplus:1.0.0'
ByteUtils、SystemClockEx等
implementation 'com.licheedev:hardwareutils:1.0.0'
一些kotlin和jetpack等相关工具类
RxHttp扩展
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。