1

我正在尝试在使用 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

4

1 回答 1

4

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

$ ./gradlew :app:dependencies
于 2015-01-04T21:57:56.427 回答