Skip to content

OSGI - Make org.jspecify.* imports optional #194

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

Merged
merged 1 commit into from
May 11, 2025

Conversation

schulm
Copy link

@schulm schulm commented May 5, 2025

Since org.specify import is not necessarily needed at runtime, can we make it optional?

@dondonz dondonz added this to the 5.0.0 milestone May 11, 2025
@dondonz dondonz merged commit 42eae0c into graphql-java:master May 11, 2025
1 check passed
@@ -63,6 +63,9 @@ jar {
'-exportcontents': 'org.dataloader.*',
'-removeheaders': 'Private-Package')
}
bnd('''
Import-Package: org.jspecify.annotations;resolution:=optional,*
''')
Copy link
Member

Choose a reason for hiding this comment

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

Small nitpick, your title mentions org.jspecify.* but this PR is only excluding annotations. In the corresponding GraphQL Java PR, org.specify.* is set as optional.

I've merged in this PR. Thanks for the PR!

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.

3 participants