How to verify that buildType is being debugged in my build.gradle ?
I want to do something like:
if(debug) { file.write("xxxxx") }
in my build.gradle
Also, how can I create debugging and buildType version from AndroidStudio? I donβt mean from the command line by typing ./gradlew assembleRelease or assembleDebug , I mean from the IDE itself when I click the play button. Is it possible?
I have buildTypes configured as such in my android block:
buildTypes { release { signingConfig signingConfigs.storeSign defaultConfig { versionCode 1100 versionName "1.1.00" } } debug { defaultConfig { versionCode 1201 versionName "1.2.01" } } }
android android-studio gradle
Prem
source share