android中Gradle的问题
黄舟
黄舟 2017-04-17 17:57:52
0
2
389

一直不明白的问题,就是gradle文件中
执行
compile 'com.info:bluetoothle:1.1.10'

这段代码的时候,为什么就会将相关的依赖添加进来?
android studio是从哪里下载这些依赖的呢?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
黄舟

Strictly speaking, it is downloaded through gradle..

Download the maven repo server from other people/companies/websites. Depending on your .gradle configuration, it may be downloaded from a place like bintray/jcenter.

阿神

In the build.gradle file in your project root directory, there is

repositories {
    jcenter()
}

gradle will automatically look for dependencies from here

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template