SBT Clover Plugin
Scala Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
project 0.0.1 Oct 30, 2015
src 0.0.1 Oct 30, 2015
.gitignore Only works for non-clean builds ... Oct 30, 2015
LICENSE 0.0.1 Oct 30, 2015 A small typo Mar 19, 2016
build.sbt 0.0.1 Oct 30, 2015

SBT Clover Plugin

SBT plugin to integrate with Clover for Java code coverage

How to Use

In project/plugins.sbt

resolvers += Resolver.url("Plugins",

addSbtPlugin("com.github.shanbin" %% "sbt-clover" % "0.0.1")

A single task to run tests with instrumented sources and generate XML and HTML reports

sbt clover:clover


All settings and tasks are under clover scope


Setting Default Value
cloverLicensePath baseDirectory / "clover.license"
cloverVersion 4.0.6


import clover.CloverSbtPlugin

cloverLicensePath in CloverSbtPlugin.cloverConfig := "/etc/clover/license.txt"


  • clover:setup
  • clover:test
  • clover:clover