Android Studio Gradle programmatically find build type

Thank you for your help in this matter. I am currently trying to edit a file during preprocessing, depending on the type of assembly selected. I know the buildTypes {} block. However, at the moment, we can say that this option is not viable. Is it possible to find out that your current option is programmatically in gradle?

+4
source share

All Articles