Skip to content

Options don't seem to work #21

@Twinbird24

Description

@Twinbird24

I've tried several different iterations with the options and non are working.

lane :distribute do
      updated_version = 75
      increment_version_code(
        gradle_file_path: "./app/build.gradle",
        ext_constant_name: "versionCode",
        version_code: updated_version.to_i,
      )
      gradle(task: "clean")
      gradle(task: "assemble", build_type: "Release")
      firebase_app_distribution()
end

I've tried:

  • moving increment_version_code after the gradle tasks
  • wrapping the options for increment_version_code in {}
  • removing the versionCode entry from the build.gradle file
  • using .to_s instead of .to_i for the version_code option

Am I missing something obvious, or is this plugin broken?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions