-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[action] gradle: Add support for mapping.txt file #15597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[action] gradle: Add support for mapping.txt file #15597
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
1 similar comment
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
Pick `mapping.txt` files. Those may be useful to upload to stores such as App Center or Playstore. Paths are exposed in GRADLE_MAPPING_TXT_OUTPUT_PATH and GRADLE_ALL_MAPPING_TXT_OUTPUT_PATHS following established practices in this action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for me! Thanks for adding this 😊
a75bc0d
to
d89cb2a
Compare
Hey @NicoEkino 👋 Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉 Please let us know if this change requires an immediate release by adding a comment here 👍 |
Congratulations! 🎉 This was released as part of fastlane 2.137.0 🚀 |
Pick
mapping.txt
files.Those may be useful to upload to stores such as App Center or Playstore.
Paths are exposed in GRADLE_MAPPING_TXT_OUTPUT_PATH and
GRADLE_ALL_MAPPING_TXT_OUTPUT_PATHS following established practices in this action.
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passSome failure on existing tests (probably due to iOS environment not fully set up and unlikely related to this PR)
bundle exec rubocop -a
to ensure the code style is validMotivation and Context
mapping.txt contains the mapping for obfuscated symbols in generated byte code.
It may be uploaded alongside .apk/.aab to stores or crash reporters to allow stack traces and crash reporting with clear symbols.
it can be used as input parameters for:
appcenter_upload(
mapping: lane_context[SharedValues::GRADLE_MAPPING_TXT_OUTPUT_PATH],
...
)
upload_to_play_store(
mapping: lane_context[SharedValues::GRADLE_MAPPING_TXT_OUTPUT_PATH],
...
)
Description
Provides GRADLE_MAPPING_TXT_OUTPUT_PATH and GRADLE_ALL_MAPPING_TXT_OUTPUT_PATHS shared values.
Testing Steps