Android project dependencies tree view of four ways

 

Android project dependencies tree view of four ways:

  • method one:

    ./gradlew module name: the Dependencies   // see the separate module depends 
     ./gradlew: App: the Dependencies --configuration the compile // Check compilation dependencies items

     

  • Second way: Use Gradle Project

     
     

     

  • Three ways: install Android Studio plug-in

    gradle view

     

 
 
  • Four ways: If you suspect the command line window display watch unfriendly, there's a better way to experience.

    Enter the following command line:

    ./gradlew build --scan

     

    It appears as follows:

    Publishing a build scan to scans.gradle.com requires accepting the Terms of Service defined at https://scans.gradle.com/terms-of-service. Do you accept these terms? [yes, no]

     

    Enter yes agree, there will be a web address, log on to the web site

     
     

The page also provides tips conflict, a reference to the library list of such libraries, the effect is as follows:

 
 
summary

1. mode and a second approach is actually the same way, you can search to find

2. Three ways way plug-in eliminates the cumbersome command input, malpractice is not a global search

3. The embodiment four more beautiful display can quickly locate the conflicting dependencies

about me

Public micro-channel number: infree6 either directly scan code

Guess you like

Origin www.cnblogs.com/songjianzaina/p/11286926.html