Lam Fung

Results 4 comments of Lam Fung

@alisultan-cloaked Attached a reference to the documentation on how to work with multi flavor version by using `android.defaultConfig.versionCode` / `android.defaultConfig.versionName`, hope this helps https://developer.android.com/studio/build/gradle-tips#combine-multiple-product-flavors Snippet ``` minApi24 { ... versionCode...

I see, what do you think if moving the flavor configuration block to below the defaultConfig block?

It works in my case: https://github.com/chkfung/android_action_test_groovy/blob/main/app/build.gradle The reason of not using replaceAll is because `android.defaultConfig.versionCode` / `android.defaultConfig.versionName` is available for dev to use it.