an sbt plugin to publish metrics within sonar
Scala
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src/main/scala
.gitignore
LICENSE
README.md
build.sbt

README.md

sbt-sonar

an sbt plugin to publish metrics within sonar

Requirements

Quick start

Add plugin to project/plugins.sbt:

resolvers += "Sonatype Repository" at "https://oss.sonatype.org/content/groups/public"

addSbtPlugin("com.ebiznext.sbt.plugins" % "sbt-sonar" % "0.1.1")

For .sbt build definitions, inject the plugin settings in build.sbt:

seq(sonar.settings :_*)

For .scala build definitions, inject the plugin settings in Build.scala:

Project(..., settings = Project.defaultSettings ++ com.ebiznext.sbt.plugins.SonarPlugin.sonar.settings)

Configuration

Plugin keys are located in com.ebiznext.sbt.plugins.SonarPlugin.Keys

Commands

sonarPublish To publish metrics to sonar