(find-licenses project-file & {:as opts})Finds licenses for project-file.
Supported opts:
| Option | Description |
|---|---|
:transitive? | Whether to consider transitive dependencies |
Finds licenses for `project-file`. Supported `opts`: | Option | Description | |--------|-------------| | `:transitive?` | Whether to consider transitive dependencies |
(resource-resolver resource-name)Returns a resolver function from an EDN resource.
The EDN file must be a map dep-name => license-map, and every license-map
should contain the following keys:
| Key | Description |
|---|---|
:url | URL to the code repository or other source that names the license. |
:versions | Vector of version prefixes this license is valid for. |
:license | License ID (SPDX) or map with :id, :name, and :url. |
Returns a resolver function from an EDN resource. The EDN file must be a map `dep-name => license-map`, and every license-map should contain the following keys: | Key | Description | |-----|-------------| | `:url` | URL to the code repository or other source that names the license. | | `:versions` | Vector of version _prefixes_ this license is valid for. | | `:license` | License ID (SPDX) or map with `:id`, `:name`, and `:url`. |
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |