1 Star 0 Fork 0

xq_android/AndroidUtilCode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
Blankj 提交于 2019-11-23 22:01 . see 11/23 log
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ConfigUtils.init(gradle)
repositories {
// use for debug plugin local
if (Config.depConfig.plugin_bus.useLocal || Config.depConfig.plugin_api.useLocal) {
maven() {
url new File("maven")
}
}
maven {
url 'https://maven.aliyun.com/repository/public'
name 'replace jcenter() and mavenCentral()'
}
maven {
url 'https://maven.aliyun.com/repository/jcenter'
name 'replace jcenter()'
}
maven {
url 'https://maven.aliyun.com/repository/google'
name 'replace google()'
}
google()
jcenter()
}
dependencies {
for (def entrySet : ConfigUtils.getApplyPlugins().entrySet()) {
classpath entrySet.value.dep
}
}
}
allprojects {
repositories {
maven {
url 'https://maven.aliyun.com/repository/public'
name 'replace jcenter() and mavenCentral()'
}
maven {
url 'https://maven.aliyun.com/repository/jcenter'
name 'replace jcenter()'
}
maven {
url 'https://maven.aliyun.com/repository/google'
name 'replace google()'
}
maven {
url "https://jitpack.io"
}
google()
jcenter()
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.eachDependency {
if (it.requested.group == 'com.android.support'
&& !it.requested.name.contains('multidex')) {
it.useVersion Config.support_version
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/android100/AndroidUtilCode.git
[email protected]:android100/AndroidUtilCode.git
android100
AndroidUtilCode
AndroidUtilCode
master

搜索帮助