Android Studio使用阿里云Aliyun Maven仓库
2024-08-24 01:27:55
如下所示,在build.gradle中添加Aliyun Maven仓库
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
google()
jcenter() }
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1' // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
} allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
google()
jcenter() }
} task clean(type: Delete) {
delete rootProject.buildDir
}
最新文章
- c = (a / b, a%b) 运算输出顺序
- winxp计算机管理中服务详解
- 使用vs2013打开vs2015项目
- Windows 设置扩展投影鼠标移出方向
- 每日英语:why can't China produce world-class CEO?
- 未能加载文件或程序集“XXX”或它的某一个依赖项。试图加载格式不正确的程序。
- 黄聪:wordpress如何使用wp_rewrite实现自定义伪静态,非301重定向。
- 正则化,数据集扩增,Dropout
- hdu 2582 f(n) 数学
- 【转载】Ssh整合开发介绍和简单的登入案例实现
- Android Studio工程导入另一个工程作为lib
- Linux下通过ODBC连接sqlserver
- CSS的z-index(分层)
- 1145: 零起点学算法52——数组中删数II
- 细看JS中的BOM、DOM对象
- 谈谈Golang中goroutine的调度问题
- HBase BulkLoad批量写入数据实战
- java保留小数后两位的四种写法
- LintCode 521.去除重复元素
- 如何成为F1车手?
热门文章
- Java数据结构与算法(4):二叉查找树
- C++ Boost库的编译及使用
- 用shell和python实现数组的一个例子
- 嵌入式Linux文件系统知多少
- 关闭掉mysql 8和mysql5.7的密码验证插件validate_password
- Delphi XE2 之 FireMonkey 入门(10) - 常用结构 TPoint、TPointF、TSmallPoint、TSize、TRect、TRectF 及相关方法
- 测开之路九十二:css之背景色和背景
- tensorflow和keras的安装
- Symmetric Tree(对称二叉树)
- c编程过程中错误笔记-&; 理解不深啊!