README.md in license_finder-5.0.3 vs README.md in license_finder-5.1.0
- old
+ new
@@ -4,11 +4,12 @@
Build status
* Ruby 2.1.5 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
* Ruby 2.2.0 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
* Ruby 2.3.0 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
-* Ruby 2.4.1 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
+* Ruby 2.4.4 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
+* Ruby 2.5.1 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
* JRuby 9.0.4.0 [](https://norsk.cf-app.com/teams/main/pipelines/LicenseFinder)
LicenseFinder works with your package managers to find dependencies,
detect the licenses of the packages in them, compare those licenses
@@ -46,10 +47,11 @@
* Objective-C (+ CocoaPods 0.39 and below. See [CocoaPods Specs Repo Sharding](http://blog.cocoapods.org/Sharding/))
* Elixir (via `mix`)
* Golang (via `gvt`, `glide`,`dep`, and `govendor`)
* JavaScript (via `yarn`)
* C++/C (via `conan`)
+* Scala (via `sbt`)
## Installation
License Finder requires Ruby 1.9.3 or greater to run. If you have an older
version of Ruby installed, you can update via Homebrew:
@@ -169,10 +171,11 @@
* `glide.lock` file (for `glide`)
* `vendor/vendor.json` file (for `govendor`)
* `Gopkg.lock` file (for `dep`)
* `yarn.lock` file (for `yarn`)
* `conanfile.txt` file (for `conan`)
+* `build.sbt` file (for `sbt`)
### Continuous Integration
`license_finder` will return a non-zero exit status if there are unapproved
@@ -405,9 +408,22 @@
Ensure that `conan install` does not generate an error.
```
[imports]
., license* -> ./licenses @ folder=True, ignore_case=True
+```
+
+### SBT Projects
+
+`license_finder` supports SBT. You need to have installed the sbt-license-report in your project:
+[https://github.com/sbt/sbt-license-report](https://github.com/sbt/sbt-license-report)
+
+By default, `license_finder` will report on SBT's "compile" and "test" dependencies. If
+you want to generate a report for some other dependency configuration, you can specify
+it in your projects's `build.sbt`
+
+```
+licenseConfigurations := Set("compile", "provided")
```
## Requirements
`license_finder` requires ruby >= 1.9, or jruby.