有时,我不想添加所有依赖项,因此我需要从依赖项中排除一些,例如:
compile('com.google.http-client:google-http-client:1.20.0') {
exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}
Run Code Online (Sandbox Code Playgroud)
我在 github here 中找到了 com.google.http-client 源代码,但是,从源代码中我找不到哪一部分属于“ org.apache.httpcomponents ”组,哪一部分属于“ httpclient ”
我是 Gradle 的初学者,所以谁能解释我如何识别组和模块?
(就像这里的stackoverflow问题,有人只是发布了排除组'****',模块:'****',但我想知道组和模块在哪里,所以将来我可以自己解决这个问题.)