Skip to content

Commit 7e988df

Browse files
committed
Make JSpecify optional
1 parent 464e4c4 commit 7e988df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bnd.bnd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ Bundle-SymbolicName: com.github.packageurl
3030
# Convert API leakage warnings to errors
3131
-fixupmessages.priv_refs: "private references";restrict:=warning;is:=error
3232

33-
34-
3533
# Options specific to dependency packages:
3634
#
37-
# Jakarta Validation is an optional dependency.
35+
# Jakarta Validation and JSpecify are optional dependencies.
3836
Import-Package: \
3937
jakarta.validation;resolution:=optional,\
38+
org.jspecify.annotations;resolution:=optional,\
4039
*
4140

4241
# Options specific to dependency modules:
4342
#
44-
# Jakarta Validation is optional, so it can not be `transitive`, otherwise consumers will need it at compile time.
43+
# Optional dependencies can not be `transitive`, otherwise consumers will need them at compile time.
4544
-jpms-module-info-options: \
46-
jakarta.validation;transitive=false
45+
jakarta.validation;transitive=false,\
46+
org.jspecify;transitive=false
4747

4848
# Adds certain `Implementation-*` and `Specification-*` entries to the generated `MANIFEST.MF`.
4949
# We set these values to their Maven Archiver defaults: https://maven.apache.org/shared/maven-archiver/#class_manifest

0 commit comments

Comments
 (0)