当前位置:网站首页>新版松鼠as换源操作
新版松鼠as换源操作
2022-08-08 17:12:00 【全情】
新版不再build里换源
在settings里
换成这样:
repositories {
maven{ url 'https://maven.aliyun.com/repository/central' }
maven{ url 'https://maven.aliyun.com/repository/public' }
maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'}
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven{ url 'https://maven.aliyun.com/repository/central' }
maven{ url 'https://maven.aliyun.com/repository/public' }
maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'}
google()
mavenCentral()
}
}
rootProject.name = "DianKan"
include ':app'
在这里插入代码片
边栏推荐
猜你喜欢
随机推荐
ARP协议详解,小白易懂
通俗易懂的epoll
L2-027 名人堂与代金券 (25 分)
【20210923】Choose the research direction you are interested in?
Debug和Release的区别
敏捷开发项目管理的一些心得
LeetCode_回溯_中等_491.递增子序列
L2-024 部落 (25 分)(并查集)
10 种最佳 IDE 软件 ,你更忠爱哪一个?
C. Palindromifier
Acwing第 63 场周赛【未完结】
项目管理流程包含哪些
1.初识MySQL数据库
mysql进阶(二十九)常用函数汇总
Digital image processing (6) -- image compression
MySQL database
正则在js中的使用
L2-023 图着色问题 (25 分)
产品经理常用的19类50+工具软件盘点
MySQL 数据库









