You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/sphinx/archetypes/misc_archetypes.rst
+24
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,30 @@ addressed in the current plugin version.
41
41
This plugin must be run on the platform of the target installer. The tooling does *not*
42
42
provide a means of creating, say, Windows installers on MacOS, or MacOS on Linux, etc.
43
43
44
+
The plugin analyzes the dependencies between packages using `jdeps`, and raises an error in case of a missing dependency (e.g. for a provided transitive dependency). The missing dependencies can be suppressed on a case-by-case basis (e.g. if you are sure the missing dependency is properly handled):
45
+
46
+
.. code-block:: scala
47
+
48
+
jlinkIgnoreMissingDependency := JlinkIgnore.only(
49
+
"foo.bar" -> "bar.baz",
50
+
"foo.bar" -> "bar.qux"
51
+
)
52
+
53
+
For large projects with a lot of dependencies this can get unwieldy. You can implement a more flexible ignore strategy:
54
+
55
+
.. code-block:: scala
56
+
57
+
jlinkIgnoreMissingDependency := {
58
+
case ("foo.bar", dependee) if dependee.startsWith("bar") => true
59
+
case _ => false
60
+
}
61
+
62
+
Otherwise you may opt out of the check altogether (which is not recommended):
0 commit comments