mifos-mobile icon indicating copy to clipboard operation
mifos-mobile copied to clipboard

Default and Release build variants

Open YashishDua opened this issue 6 years ago • 2 comments
trafficstars

Summary:

We can improve our build time and the environment by creating two buildTypes in Gradle - Debug, and Release. Different types of optimizations can be done for debugging and release variant.

YashishDua avatar Feb 17 '19 16:02 YashishDua

Please explain a bit more, what exactly you are planning to do and what will be your approach.

luckyman20 avatar Feb 20 '19 07:02 luckyman20

For example, we can make crashlytics false for debug variant, disabling PNG crunching for release mode, enabling and disabling build caches and shrinking resource. There are a lot of other things we can do. We will split our build type into two categories. And will set up things accordingly in both variants.

More: https://developer.android.com/studio/build/optimize-your-build https://developer.android.com/studio/build/shrink-code

YashishDua avatar Mar 04 '19 10:03 YashishDua