mirror of
https://github.com/lightbend/config.git
synced 2025-03-18 05:10:56 +08:00
Move the main project to config/ subdir and add a root aggregate project
This commit is contained in:
parent
bc0cf31359
commit
93b87097fd
36
build.sbt
36
build.sbt
@ -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
31
config/build.sbt
Normal 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
Loading…
Reference in New Issue
Block a user