2011-11-09 13:07:21 +08:00
|
|
|
import de.johoop.findbugs4sbt.FindBugs._
|
|
|
|
import de.johoop.findbugs4sbt.ReportType
|
2011-11-09 21:47:29 +08:00
|
|
|
import de.johoop.jacoco4sbt._
|
|
|
|
import JacocoPlugin._
|
2011-11-21 22:21:59 +08:00
|
|
|
import javadoc.JavadocPlugin._
|
2011-11-09 13:07:21 +08:00
|
|
|
|
2011-11-08 04:31:23 +08:00
|
|
|
version := "0.1"
|
|
|
|
|
2011-11-13 06:45:12 +08:00
|
|
|
fork in test := true
|
|
|
|
|
|
|
|
fork in run := true
|
|
|
|
|
|
|
|
fork in run in Test := true
|
|
|
|
|
2011-11-08 04:31:23 +08:00
|
|
|
libraryDependencies += "net.liftweb" %% "lift-json" % "2.4-SNAPSHOT" % "test"
|
|
|
|
|
|
|
|
libraryDependencies += "com.novocode" % "junit-interface" % "0.7" % "test"
|
|
|
|
|
|
|
|
externalResolvers += "Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
|
|
|
|
|
2011-11-09 13:07:21 +08:00
|
|
|
seq(findbugsSettings : _*)
|
|
|
|
|
|
|
|
findbugsReportType := ReportType.Html
|
|
|
|
|
|
|
|
findbugsReportName := "findbugs.html"
|
2011-11-09 21:47:29 +08:00
|
|
|
|
|
|
|
seq(jacoco.settings : _*)
|
2011-11-19 07:27:27 +08:00
|
|
|
|
2011-11-21 22:21:59 +08:00
|
|
|
seq(javadocSettings: _*)
|
|
|
|
|
|
|
|
JavadocKeys.javadocOptions += "-exclude com.typesafe.config.impl"
|
2011-11-19 07:34:30 +08:00
|
|
|
|
|
|
|
doc := error("use the 'javadoc' task instead of 'doc'")
|