1 Star 0 Fork 0

阿宝/WanJetpack

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
阿宝 提交于 2024-08-17 00:23 . 首次提交
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = "1.4.30"
hilt_version ='2.33-beta'
nav_version = "2.3.5"
room_version = "2.3.0"
}
repositories {
google()
//mavenCentral()
maven { url 'https://maven.aliyun.com/repository/jcenter' } // <= here
maven { url 'https://maven.aliyun.com/repository/google' }
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
allprojects {
repositories {
//google()
//mavenCentral()
//jcenter() // Warning: this repository is going to shut down soon
maven { url 'https://maven.aliyun.com/repository/jcenter' } // <= here
maven { url 'https://maven.aliyun.com/repository/google' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/su-wenhui/wan-jetpack.git
git@gitee.com:su-wenhui/wan-jetpack.git
su-wenhui
wan-jetpack
WanJetpack
master

搜索帮助