1 Star 0 Fork 1

voilet0604/MvpHiltDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.gradle 3.99 KB
一键复制 编辑 原始数据 按行查看 历史
voilet0604 提交于 2021-04-20 11:01 . update
def build_versions = [:]
build_versions.MIN_SDK = 21
build_versions.TARGET_SDK = 30
build_versions.COMPILE_SDK = 30
build_versions.BUILD_TOOLS = "30.0.3"
ext.buildVersions = build_versions
def versions = [:]
versions.appcompat = "30.0.0"
versions.appcompatX = "1.2.0"
versions.rxjava2 = "2.0.8"
versions.rxandroid2 = "2.0.1"
versions.rxjava3 = "3.0.4"
versions.rxandroid3 = '3.0.0'
versions.retrofit = "2.9.0"
versions.converter_gson = "2.5.0"
versions.retrofit2_rxjava2_adapter = "1.0.0-RC3"
versions.retrofit2_rxjava3_adapter = "2.9.0"
versions.interceptor = "3.11.0"
versions.constraintlayout = "2.0.4"
versions.material = "1.3.0"
versions.arouter_api = '1.5.1'
versions.arouter_compiler = '1.5.1'
versions.core_ktx = '1.3.2'
versions.hlit = '2.33-beta'
versions.hlit_viewmodel = '1.0.0-alpha03'
versions.hlit_viewmodel_savedstate = '2.3.0'
versions.okhttp = '4.2.1'
versions.gson = '2.8.1'
versions.saferoom = '1.2.1'
versions.timber = '4.7.1'
versions.live_bus = '1.5.7'
versions.inject = '1'
versions.glide = '4.11.0'
versions.imagezoom = '1.0.4'
versions.rxpermissions = '0.12'
versions.adapter_helper = '3.0.4'
versions.smart_refresh = '1.1.0'
versions.rx_life_cycle = '4.0.2'
def deps = [:]
deps.appcompatX = "androidx.appcompat:appcompat:${versions.appcompatX}"
deps.appcompatV7 = "com.android.support:appcompat-v7:${versions.appcompat}"
deps.constraintlayout = "androidx.constraintlayout:constraintlayout:${versions.constraintlayout}"
deps.material = "com.google.android.material:material:${versions.material}"
//网络请求框架
deps.retrofit = "com.squareup.retrofit2:retrofit:${versions.retrofit}"
deps.converterGson = "com.squareup.retrofit2:converter-gson:${versions.converter_gson}"
deps.retrofit2Adapter = "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:${versions.retrofit2_rxjava2_adapter}"
deps.retrofit3Adapter = "com.squareup.retrofit2:adapter-rxjava3:${versions.retrofit2_rxjava3_adapter}"
deps.interceptor = "com.squareup.okhttp3:logging-interceptor:${versions.interceptor}"
deps.rxjava2 = "io.reactivex.rxjava2:rxjava:${versions.rxjava2}"
deps.rxandroid2 = "io.reactivex.rxjava2:rxandroid:${versions.rxandroid2}"
deps.AROUTER_API = "com.alibaba:arouter-api:${versions.arouter_api}"
deps.AROUTER_COMPILER = "com.alibaba:arouter-compiler:${versions.arouter_compiler}"
deps.CORE_KTX = "androidx.core:core-ktx:${versions.core_ktx}"
deps.HILT_ANDROID = "com.google.dagger:hilt-android:${versions.hlit}"
deps.HILT_ANDROID_COMPILER = "com.google.dagger:hilt-android-compiler:${versions.hlit}"
deps.HLIT_VIEWMODEL = "androidx.hilt:hilt-lifecycle-viewmodel:${versions.hlit_viewmodel}"
deps.HLIT_VIEWMODEL_SAVEDSTATE = "androidx.lifecycle:lifecycle-viewmodel-savedstate:${versions.hlit_viewmodel_savedstate}"
deps.OKHTTP = "com.squareup.okhttp3:okhttp:${versions.okhttp}"
deps.GSON = "com.google.code.gson:gson:${versions.gson}"
deps.SAFEROOM = "com.commonsware.cwac:saferoom.x:${versions.saferoom}"
deps.RXJAVA3 = "io.reactivex.rxjava3:rxjava:${versions.rxjava3}"
deps.RXANDROID3 = "io.reactivex.rxjava3:rxandroid:${versions.rxandroid3}"
deps.TIMBER = "com.jakewharton.timber:timber:${versions.timber}"
deps.LIVE_BUS = "com.jeremyliao:live-event-bus:${versions.live_bus}"
deps.INJECT = "javax.inject:javax.inject:${versions.inject}"
deps.GLIDE = "com.github.bumptech.glide:glide:${versions.glide}"
deps.GLIDE_COMPILER = "com.github.bumptech.glide:compiler:${versions.glide}"
deps.IMAGEZOOM = "it.sephiroth.android.library.imagezoom:library:${versions.imagezoom}"
deps.RXPERMISSIONS = "com.github.tbruyelle:rxpermissions:${versions.rxpermissions}"
deps.ADAPTER_HELPER = "com.github.CymChad:BaseRecyclerViewAdapterHelper:${versions.adapter_helper}"
deps.SMART_REFRESH = "com.scwang.smartrefresh:SmartRefreshLayout:${versions.smart_refresh}"
deps.SMART_REFRESH_HEADER = "com.scwang.smartrefresh:SmartRefreshHeader:${versions.smart_refresh}"
deps.RX_LIFE_CYCLE = "com.trello.rxlifecycle4:rxlifecycle:${versions.rx_life_cycle}"
deps.RX_LIFECYCLE_KTX = "com.trello.rxlifecycle4:rxlifecycle-android-lifecycle-kotlin:${versions.rx_life_cycle}"
ext.deps = deps
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/violetshalei/mvp-hilt-demo.git
git@gitee.com:violetshalei/mvp-hilt-demo.git
violetshalei
mvp-hilt-demo
MvpHiltDemo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385