加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
version.gradle 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
def buildVersions = [:]
buildVersions.compileSdkVersion = 32
buildVersions.minSdkVersion = 19
buildVersions.targetSdkVersion = 31
ext.buildVersions = buildVersions
def versions = [:]
versions.kotlin_version = '1.8.0'
ext.versions = versions
// 需要发布的库版本信息配置,目前仅用于上传测试包到阿里云效,正式包发布到jitpack
def modules = [:]
modules.isRelease = false
modules.version_release = '1.4.9'
modules.version_debug = '0.0.0.2-SNAPSHOT'
modules.groupId = 'com.gitee.HZKQ.Widgets'
modules.username = '61ca9e9ad6190210d83832a8'
modules.password = 'WYsLiuoaVPO8'
ext.modules = modules
def deps = [:]
deps.kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin_version"
// android kotlin 语法糖
deps.coreKtx = 'androidx.core:core-ktx:1.6.0'
// 协程
deps.coroutines = 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1-native-mt'
deps.coroutinesAndroid = 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1-native-mt'
// multidex
deps.multidex = 'androidx.multidex:multidex:2.0.1'
deps.androidTest = 'androidx.test.ext:junit:1.1.3'
deps.espresso = 'androidx.test.espresso:espresso-core:3.4.0'
deps.junit = 'junit:junit:4.13.2'
deps.lifecycle = 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
deps.appcompat = 'androidx.appcompat:appcompat:1.3.1'
deps.annotation = 'androidx.annotation:annotation:1.2.0'
deps.multidex = 'androidx.multidex:multidex:2.0.1'
deps.recyclerview = 'androidx.recyclerview:recyclerview:1.2.1'
deps.constraintlayout = 'androidx.constraintlayout:constraintlayout:2.0.4'
deps.cardview = 'androidx.cardview:cardview:1.0.0'
deps.hwscan = 'com.huawei.hms:scanplus:2.1.0.300'
deps.glide = 'com.github.bumptech.glide:glide:4.12.0'
deps.permissions = 'com.github.getActivity:XXPermissions:13.6'
deps.magpieX = 'com.gitee.zhouzhuo0810:MagpieX:2.4.1'
deps.zzProgressbar = 'com.gitee.zhouzhuo0810:ZzHorizontalProgressBar:1.1.2'
deps.photoPreview = 'com.github.wanggaowan:PhotoPreview:2.4.7'
ext.deps = deps
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化