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

Cannot Use Library in External Projects #26

Closed
oliverspryn opened this issue Feb 7, 2024 · 0 comments · Fixed by #27
Closed

Cannot Use Library in External Projects #26

oliverspryn opened this issue Feb 7, 2024 · 0 comments · Fixed by #27
Assignees
Labels
Bug A defect which was discovered during development, testing, or while in production.
Milestone

Comments

@oliverspryn
Copy link
Owner

If you look at the POM for version 1.0.0, it depends on the constraints module, which is, obviously, only necessary for this project and not part of the published artifact. This causes consuming applications to look for this module in their project and fail if it doesn't exist, which is not intended.

That artifact needs to be removed from the publication dependency list. Also, it would be ideal to have this library import all of the transitive dependencies for end users.

The best way to fix this issue would be to remove the constraints module and transition to a Gradle Version Catalog, which solves the same problem but without all of the ceremony.

@oliverspryn oliverspryn added the Bug A defect which was discovered during development, testing, or while in production. label Feb 7, 2024
@oliverspryn oliverspryn self-assigned this Feb 7, 2024
@oliverspryn oliverspryn added this to the 1.1.0 milestone Feb 7, 2024
@oliverspryn oliverspryn linked a pull request Feb 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A defect which was discovered during development, testing, or while in production.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant