-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Allow exclusion of GSON dependency #3223
Conversation
Move creation of the GSON instance to a separate class which is initialised only when any of the json methods are being used. This allows GSON and org.json transitive Maven dependencies to be excluded for the applications which don't use json methods.
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 PR addresses only Gson. Please update title and description accordingly.
Codecov ReportBase: 66.96% // Head: 66.93% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #3223 +/- ##
============================================
- Coverage 66.96% 66.93% -0.03%
- Complexity 4606 4611 +5
============================================
Files 251 253 +2
Lines 14864 14884 +20
Branches 922 923 +1
============================================
+ Hits 9953 9962 +9
- Misses 4511 4524 +13
+ Partials 400 398 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Done. The title and description are updated |
Move creation of the JSON command builders to a separate class which is initialized only when any of the JSON methods are being used. This allows org.json transitive Maven dependency to be excluded for the applications which don't use JSON methods. See redis#2961 and redis#2962 for more information and rationale. Similar to redis#3223
Move creation of the JSON command builders to a separate class which is initialized only when any of the JSON methods are being used. This allows org.json transitive Maven dependency to be excluded for the applications which don't use JSON methods. See #2961 and #2962 for more information and rationale. Similar to #3223
Move creation of the GSON instance to a separate class which is initialized only when any of the JSON methods are being used. This allows
gson
transitive Maven dependency to be excluded for the applications which don't use JSON methods.See #2961 and #2962 for more information and rationale