0 Star 0 Fork 39

Lambda7355 / AndroidUtilCode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
布兰柯基 提交于 2020-04-10 04:47 . see 04/10 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("mavenLocal")
}
}
google()
jcenter()
}
dependencies {
for (def entrySet : ConfigUtils.getApplyPlugins().entrySet()) {
classpath entrySet.value.dep
}
}
}
allprojects {
repositories {
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.supportVersion
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
1
https://gitee.com/lambda7355/AndroidUtilCode.git
git@gitee.com:lambda7355/AndroidUtilCode.git
lambda7355
AndroidUtilCode
AndroidUtilCode
master

搜索帮助