Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
There are situation in modular approach when you want to exclude some of the dependency from that the library project used. This happens because of many reason. Either we use a latest dependency or we have transitive dependency issue.
In this blog we are going to watch how dependencies are excuded from library project.
Let Us first create two project
Let us save following dependency in MyLibrary
Now let us draw dependency tree hierarchy on different case.
Note: we can draw dependency tree graph using android studio terminal (command prompt) by following command
gradle app:dependencies
or use gradle –gui for graphic user interface.
Case 1. When no library project is Added
Result1.
Case2. When no dependency is added in the main project
Result2.
Case3. When Library Project is Added
Result3.
Case4. Excluding a group of dependency from our library project when building our main project
Result4.
Case5. Excluding a module from a group of dependency from our library project when building our main project
Result5.
Case 6: When same dependencies are present in the library project
Result 6:
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.
Osama
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.