2015-01-04 42 views
1

我試圖在Intellij開發的Android項目中找到任何重複的庫。如何在運行時檢查依賴列表Gradle?

我試着跑在我的項目的根目錄​​但我只得到了以下幾點:

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 

搖籃版本是2.1

回答

4

根項目沒有任何相關性。您需要在其中一個子項目上執行dependencies任務。

$ ./gradlew :app:dependencies