How is Android AAR with dependency tree generated (recommended)
introduction
AAR displayed by Android studio by default will only contain the source code of the project and will not carry the source code dependent on library; However, some of our commonly used dependency libraries are generally dependent (the dependency tree is transparently transmitted by setting transitional = true). Let's explain how this dependency AAR is generated
code
In the above code, someone has written a special plug-in to complete this function; For third-party libraries with dependencies, they can be introduced in the form of embedded. Third party plug-in GitHub address
summary
The above is how Android AAR with dependency tree is generated. I hope it will help you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!