Hey @chkfung, thanks for the plugin.
Is it feasible for you to put replaceAll in place of newGradle = newGradle.replace(versionCodeRegexPattern, $1${versionCode}); and same for versionName because we have multiple productFlavours with each flavour having its own versionCode and versionName, but it only replaces just the first occurrence.
Originally posted by @alisultan-cloaked in #2 (comment)
Hey @chkfung, thanks for the plugin.$1$ {versionCode}
Is it feasible for you to put replaceAll in place of
newGradle = newGradle.replace(versionCodeRegexPattern,);and same for versionName because we have multiple productFlavours with each flavour having its own versionCode and versionName, but it only replaces just the first occurrence.Originally posted by @alisultan-cloaked in #2 (comment)