fastlane/lib/fastlane/actions/gradle.rb in fastlane-2.194.0 vs fastlane/lib/fastlane/actions/gradle.rb in fastlane-2.195.0
- old
+ new
@@ -256,11 +256,24 @@
```ruby
gradle(
# ...
properties: {
- "versionCode" => 100,
- "versionName" => "1.0.0",
+ "exampleNumber" => 100,
+ "exampleString" => "1.0.0",
+ # ...
+ }
+ )
+ ```
+
+ You can use this to change the version code and name of your app:
+ ```ruby
+ gradle(
+ # ...
+
+ properties: {
+ "android.injected.version.code" => 100,
+ "android.injected.version.name" => "1.0.0",
# ...
}
)
```