-
Notifications
You must be signed in to change notification settings - Fork 393
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
Use gson-api plugin instead of bundling gson-api jar #1077
Use gson-api plugin instead of bundling gson-api jar #1077
Conversation
a152ac5
to
9a6d033
Compare
@jonesbusy this looks great to me. The plugin bill of materials will release with the gson-api plugin added this Saturday. Then this pull request can be updated to depend on that new version of the plugin bill of materials and the version property can be removed from the dependency reference. |
Perfect will leave the PR like this until the BOM release |
In the interim, I'll submit a separate pull request to update the minimum Jenkins version to 2.401.3 because I want a separate changelog entry for that change. |
The gson-api plugin has been added to the bom-2.401.x line. That will allow the plugin to stop bundling the transitive dependency on the gson-api jar file. That reduces the size of the hpi file and avoids duplicating the gson-api file in multiple locations inside Jenkins. jenkinsci#1077 from @jonesbusy inspired this pull request.
Sure I will rebase when merged and remove the version when the bom is released |
The gson-api plugin has been added to the bom-2.401.x line. That will allow the plugin to stop bundling the transitive dependency on the gson-api jar file. That reduces the size of the hpi file and avoids duplicating the gson-api file in multiple locations inside Jenkins. #1077 from @jonesbusy inspired this pull request.
9a6d033
to
79d75ec
Compare
79d75ec
to
a63004c
Compare
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.
Thanks very much!
Depend on gson-api plugin instead of bundling gson-api jar
Do not bundle the gson-api jar file as a transitive dependency when there is already a gson-api Jenkins plugin available.
Added to bom so that the version number can be retrieved from the plugin bill of materials in a future BOM release:
Checklist
Types of changes