gdesign_android/config.gradle

66 lines
2.9 KiB
Groovy
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 全局统一配置文件
* ext 是 ExtraPropertiesExtension 的缩写,是一个扩展属性的机制。通过将属性添加到 rootProject.ext你可以在整个 Gradle 构建中共享这些属性。
*/
ext {
//当它为true时调试模式组件可以单独运行。如果是false正式编译打包的模式。
isDebug = false
android = [
compileSdk : 33,
applicationId: "com.hnucm.gdesign_android",
minSdk : 24,
targetSdk : 33,
versionCode : 1,
versionName : "1.0"
]
applicationId = [
"app" : "com.hnucm.gdesign_android",
"main" : "com.hnucm.module.main",
"login" : "com.hnucm.module.login",
"message": "com.hnucm.module.message",
"mine" : "com.hnucm.module.mine"
]
//SDk中核心的库
library = [
corektx : "androidx.core:core-ktx:1.8.0",
appcompat : "androidx.appcompat:appcompat:1.4.1",
material : "com.google.android.material:material:1.5.0",
constraintlayout: "androidx.constraintlayout:constraintlayout:2.1.3"
]
//第三方的库
arouter_api = "com.alibaba:arouter-api:1.5.2"
//ARouter 的注解处理器
arouter_compiler = "com.alibaba:arouter-compiler:1.5.2"
gson = "com.google.code.gson:gson:2.8.6"
recyclerview = 'androidx.recyclerview:recyclerview:1.0.0'
refresh_layout_kernel = 'io.github.scwang90:refresh-layout-kernel:2.0.5'//核心必须依赖
refresh_header_classics = 'io.github.scwang90:refresh-header-classics:2.0.5'//经典刷新头
refresh_header_radar = 'io.github.scwang90:refresh-header-radar:2.0.5'//雷达刷新头
refresh_header_falsify = 'io.github.scwang90:refresh-header-falsify:2.0.5'//虚拟刷新头
refresh_header_material = 'io.github.scwang90:refresh-header-material:2.0.5' //谷歌刷新头
refresh_header_two_level = 'io.github.scwang90:refresh-header-two-level:2.0.5' //二级刷新头
refresh_footer_ball = 'io.github.scwang90:refresh-footer-ball:2.0.5' //球脉冲加载
refresh_footer_classics = 'io.github.scwang90:refresh-footer-classics:2.0.5' //经典加载
retrofit2 = 'com.squareup.retrofit2:retrofit:2.6.1'
retrofit2_gson = 'com.squareup.retrofit2:converter-gson:2.6.1'
//图片圆形化
circleimageview = 'de.hdodenhof:circleimageview:3.0.1'
glide = 'com.github.bumptech.glide:glide:4.12.0'
glide_compiler = 'com.github.bumptech.glide:compiler:4.12.0'
lifecycle_extensions = "androidx.lifecycle:lifecycle-extensions:2.1.0"
lifecycle_viewmodel_ktx = "androidx.lifecycle:lifecycle-viewmodel-ktx:2.1.0"
lifecycle_livedata_ktx = "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0-alpha05"
//协程库
kotlinx_coroutines_core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0"
kotlinx_coroutines_android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.1"
}