An open API service indexing awesome lists of open source software.

https://github.com/jvz/sbt-rat

SBT plugin for integrating Apache RAT (release audit tool), an automated license checker and compliance framework.
https://github.com/jvz/sbt-rat

apache build-tool license-checking sbt sbt-plugin scala

Last synced: 5 months ago
JSON representation

SBT plugin for integrating Apache RAT (release audit tool), an automated license checker and compliance framework.

Awesome Lists containing this project

README

          

= sbt release audit tool

Release audit tool for sbt. See link:ChangeLog.adoc[changelog].

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/jvz/sbt-rat)

== Usage

This plugin is built for sbt 0.13.x and 1.x, and it is available as an auto plugin.
To add this to your project, add the following to your build:

.project/plugins.sbt
[source,scala]
----
addSbtPlugin("org.musigma" % "sbt-rat" % "0.7.0")
----

This adds two tasks: `ratCheck` and `ratReport`.
The first task will fail the build if the audit check fails.
The second task generates the audit report files (plain text and AsciiDoc).

=== Testing

Run `sbt "^scripted"` for http://www.scala-sbt.org/1.x/docs/Testing-sbt-plugins.html[sbt script tests].