I have an android application which I need to use modules from an application that I had previously created, the problem I currently have is that I don't know how to make it a dependency of my current application in order to use the modules of this application
To add modules (submodules) to your project, they must be found in the root of your project at the same level as
/app
You proceed to register them within
settings.gradle
:app/build.gradle
and inside the project fileIn this way, when reviewing the project structure, you will be able to see the main module and the submodules.
First you need to copy the module to your project folder, then add the project dependency in build.gradle