Build variants in Gradle for a Library Project in Android
I am trying to configure with Gradle a project which contains some external libraries. With Gradle I can setup different Environmental Configuration (with a class inside a config file) for the main application using the Build Variants so I can execute code according to this variables. The problem is that how I can do the same for a library project? I created this library for this project and I would like to setup different Build Variants for different scenarios. As an example: In the Library, when running in debug mode, then print all the logs so I can see them while developing. In release