I am new to gradle and I cannot find a solution to my problem. I searched the Internet to see that someone had done something similar, following best practices.
I have several java projects that are built using maven, sharing a single project that contains all the environment profiles. So it looks like
Environment Project
Project A
Project B
Project C
etc.
Using profiles in maven, I was able to create environment-specific packages. When I was involved in the design structure, I really did not pay attention to make sure that this is the best practice.
In any case, I want to know if there is a similar approach to gradle for creating environment-specific packages when sharing configuration for multiple projects.