Skip to content
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

Convert to use the java-library plugin #1934

Merged
merged 2 commits into from
Jan 11, 2024
Merged

Conversation

lbergelson
Copy link
Member

Use the 'java-library' plugin instead of the 'java' one. This should improve our dependency resolution for downstream projects.

As part of this change, remove picard dependency on log4j and replace it with a version constraint so that transitive dependencies don't import a vulnerable version.

I don't have any automatic tooling to distinguish api from implementation dependencies so this is a best effort. We should be ready to change any if we are exposing some that we don't expect.

Addresses the issue brought up in #1919, however we've made the deliberate decision to include the minimum required dependencies instead of marking them all as api.

* this more clearly defines the necessary dependencies needed downstream to use picard
* reorganized the libraries a bit to make things clearer
* replace the dependency with a version constraint so we don't import a buggy version
@lbergelson lbergelson force-pushed the lb_convert_to_library branch from f5ba9b8 to 6642bce Compare January 10, 2024 21:45
Copy link
Contributor

@kockan kockan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lbergelson lbergelson merged commit a226c92 into master Jan 11, 2024
6 checks passed
@lbergelson lbergelson deleted the lb_convert_to_library branch January 11, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants