I want to create one code base for multiple applications.
I know that in ecllipse,we can have multiple applications and library project in one workspace.In this way we had a benefit that we have all our applications in single place(workspace) and can use the single library project without much effort.
But In android studio.I have not found any solution for this.Till now I have only one solution that I can make a library project and I should copy and paste this library folder in my projects.then I can use that library according to my need.I cannot use the flavours.I found it complicated for me.Also I think it shouldn't fulfil my requirements.
But there's two problem.
1.I cannot keep all my projects in one workspace.
2.If my library folder becomes larger in size then there may be a chance that my application will also become larger.And I could not able to find a way to make a gradle out of the library project and use that gradle/jar file in my application.And also I don't want to store my library project in maven/jcenter.
What should I do?Can u help my guys.Please suggest me if you have any idea.