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
{{ message }}
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
Some libraries give the option of choosing a license that best suites the needs of the consumer. For example, the UnboundID LDAP SDK has 3. Gradle has a license plugin that supports this, as well as npm (the other tools we're using in our stack). It would be useful to also have lein-licenses support printing all possible licenses from dependencies too.
An alternative to this would be to provide an option (function) in project.clj to allow customization of what's printed for a given lib. So I could do: (fn [lib licenses] (if (.contains lib "foo") "bar" licenses))
The text was updated successfully, but these errors were encountered:
I agree that multiple licenses should be supported, and that we should support overrides (alongside with fallbacks). Also we probably should introduce tests at some point :D
I’ll try to look into this some time next week, but meanwhile patches are very much welcome.
Note that SPDX (see issue #7) provides a standard mechanism for representing the various ways that a work can be multiply-licensed: SPDX license expressions.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Some libraries give the option of choosing a license that best suites the needs of the consumer. For example, the UnboundID LDAP SDK has 3.
Gradle
has a license plugin that supports this, as well asnpm
(the other tools we're using in our stack). It would be useful to also havelein-licenses
support printing all possible licenses from dependencies too.An alternative to this would be to provide an option (function) in project.clj to allow customization of what's printed for a given lib. So I could do:
(fn [lib licenses] (if (.contains lib "foo") "bar" licenses))
The text was updated successfully, but these errors were encountered: