我可以使用哪个命令来查看为什么安装了某个包,谁使用 Gradle 依赖它?
我正在使用一个 Android 项目,想看看为什么 firebase-installations 进入类路径(它不在依赖项列表中)。
我试过这样的事情:
./gradlew -q 'app:dependencyInsight' --dependency firebase-installations --configuration aflavourReleaseCompileClasspath
但是输出是无法理解的,例如,摘录:
com.google.firebase:firebase-installations:{strictly 16.3.5} -> 16.3.5
\--- aflavourReleaseCompileClasspath
这意味着什么?或这个:
com.google.firebase:firebase-installations:16.3.5
+--- com.google.firebase:firebase-bom:27.1.0
| \--- aflavourReleaseCompileClasspath
当然 BOM 依赖于它,但它不应该出现在类路径中,对吧?BOM 是否应该下载依赖项?
谢谢