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.
- Host: GitHub
- URL: https://github.com/jvz/sbt-rat
- Owner: jvz
- License: apache-2.0
- Created: 2018-03-31T15:45:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-08T18:04:56.000Z (over 5 years ago)
- Last Synced: 2025-02-01T21:41:19.457Z (over 1 year ago)
- Topics: apache, build-tool, license-checking, sbt, sbt-plugin, scala
- Language: Shell
- Homepage:
- Size: 110 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.adoc
- Changelog: ChangeLog.adoc
- License: LICENSE
Awesome Lists containing this project
README
= sbt release audit tool
Release audit tool for sbt. See link:ChangeLog.adoc[changelog].

== 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].