I know we can edit build types in Android Studio:
I know we can edit each build type setting in gradle:
android { buildTypes { release { minifyEnabled true } }
I know we can detect build types in code. How do I detect if I am in release or debug mode?
But where actually are the build types defined? Let say I want to commit it to git. What should I do to keep build types of the project consistent?