在build.gradle文件中google()和maven { url'https://maven.google.com'} 之间是否有任何区别?如果有,那是什么?
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
// OR
google()
}
}
Run Code Online (Sandbox Code Playgroud) 实际上,我正在研究build.gradle档案.在某些情况下,我有时会使用它mavenCentral(),jCenter()并mavenLocal()在存储库部分.有时他们也使用URL.所以在我脑海里出现了一些问题?
i)mavenCentral(),jCenter()和mavenLocal()之间的区别?
ii)我应该使用哪一个?
iii)是否存在与性能相关的问题?