gpt4 book ai didi

gradle - 如何在运行时检查Gradle的依赖项列表?

转载 作者:行者123 更新时间:2023-12-03 03:40:38 27 4
gpt4 key购买 nike

我正在尝试使用Intellij开发的Android项目中找到任何重复的库。

我试过在项目的根目录中运行./gradlew dependencies,但只有以下内容:

WARNING [Project: :app] WARNING: runProguard is deprecated (and will soon stop working); change to "minifyEnabled" instead
WARNING [Project: :facebookSDK] WARNING: runProguard is deprecated (and will soon stop working); change to "minifyEnabled" instead
WARNING [Project: :myLibrary] WARNING: runProguard is deprecated (and will soon stop working); change to "minifyEnabled" instead
WARNING [Project: :sherlockNavigationDrawer] WARNING: runProguard is deprecated (and will soon stop working); change to "minifyEnabled" instead
WARNING [Project: :viewPagerLibrary] WARNING: runProguard is deprecated (and will soon stop working); change to "minifyEnabled" instead
WARNING [Project: :myapp] WARNING: runProguard is deprecated (and will soon stop working); change to "minifyEnabled" instead
WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.1 is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.1 is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

No configurations

BUILD SUCCESSFUL

Gradle版本是2.1

最佳答案

根项目没有任何依赖关系。您需要在一个子项目上执行dependencies任务。

$ ./gradlew :app:dependencies

关于gradle - 如何在运行时检查Gradle的依赖项列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27763472/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com