Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

perf: android proguard rules #2511

Merged
merged 1 commit into from
May 2, 2024
Merged

perf: android proguard rules #2511

merged 1 commit into from
May 2, 2024

Conversation

kraity
Copy link
Collaborator

@kraity kraity commented May 2, 2024

What this PR does / why we need it?

生成jar包时增加Android混淆规则, 减少用户手动添加规则

Summary of your change

针对issues#2466中警告以及@JSONType@JSONField注解引用

规则参考:
ProGuard Manual: Usage
gson.pro
katplus.pro

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Signed-off-by: Kraity <kraity@krait.cn>
@kraity kraity requested a review from wenshao May 2, 2024 09:56
@wenshao wenshao merged commit 1fccc2b into alibaba:main May 2, 2024
5 checks passed
@wenshao
Copy link
Member

wenshao commented May 2, 2024

@wenshao wenshao added this to the 2.0.50 milestone May 2, 2024
@wenshao wenshao added fixed and removed fixed labels May 2, 2024
@kraity kraity deleted the add_pro branch May 3, 2024 00:34
@wenshao
Copy link
Member

wenshao commented May 12, 2024

https://github.com/alibaba/fastjson2/releases/tag/2.0.50
2.0.50已发布,请用新版本

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants