Move the main project to config/ subdir and add a root aggregate project

This commit is contained in:
Havoc Pennington 2011-11-26 19:42:52 -05:00
parent bc0cf31359
commit 93b87097fd
101 changed files with 43 additions and 31 deletions

View File

@ -1,33 +1,11 @@
import de.johoop.findbugs4sbt.FindBugs._
import de.johoop.findbugs4sbt.ReportType
import de.johoop.jacoco4sbt._
import JacocoPlugin._
import javadoc.JavadocPlugin._
version := "0.1"
version in GlobalScope := "0.1"
fork in test := true
// no binary for the root project
publishArtifact in (Compile, packageBin) := false
fork in run := true
// no javadoc for the root project
publishArtifact in (Compile, packageDoc) := false
fork in run in Test := true
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/"
seq(findbugsSettings : _*)
findbugsReportType := ReportType.Html
findbugsReportName := "findbugs.html"
seq(jacoco.settings : _*)
seq(javadocSettings: _*)
JavadocKeys.javadocOptions += "-exclude com.typesafe.config.impl"
doc := error("use the 'javadoc' task instead of 'doc'")
// no source for the root project
publishArtifact in (Compile, packageSrc) := false

31
config/build.sbt Normal file
View File

@ -0,0 +1,31 @@
import de.johoop.findbugs4sbt.FindBugs._
import de.johoop.findbugs4sbt.ReportType
import de.johoop.jacoco4sbt._
import JacocoPlugin._
import javadoc.JavadocPlugin._
fork in test := true
fork in run := true
fork in run in Test := true
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/"
seq(findbugsSettings : _*)
findbugsReportType := ReportType.Html
findbugsReportName := "findbugs.html"
seq(jacoco.settings : _*)
seq(javadocSettings: _*)
JavadocKeys.javadocOptions += "-exclude com.typesafe.config.impl"
doc := error("use the 'javadoc' task instead of 'doc'")

Some files were not shown because too many files have changed in this diff Show More