Hey guys. Can I link gradle.properties field with ...
# gradle
v
Hey guys. Can I link gradle.properties field with iOS project? For example with the simplest thing: App Version: Define in the props:
app.version.name=1.0.0
Link with android:
AndroidApplicationModule -> android{} -> defaultConfig{} -> versionName = _extra_["app.version.name"] as String
since we still in gradle. iOS: We need to put into
project.pbxproj -> MARKETING_VERSION = xxx?
Maybe we can set project.MARKETING_VERSION from a gradle task? I assume that we can read the .pbxproj into a string and reg-ex replace the version. But I am looking for an option with less pain. Upd: Jinja could help with the pain instead of using reg-ex