forked from mtkopone/scct
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Below is the relevant piece of my Build.scala. Any idea what I'm doing wrong or is this a bug? I'm using sbt 0.12.4, Scala 2.10.2, and version 0.3-SNAPSHOT of scct.
NoClassDefFoundError: : Could not initialize class com.github.scct.Coverage$lazy val myProject = Project("myproject", file("."),
settings = standardSettings ++ Seq(
name := "myproject",
publish := {}
)
)
.settings(ScctPlugin.mergeReportSettings: _*)
.aggregate(common, server)
lazy val common = Project("common", file("common"),
settings = standardSettings ++ Seq(
name := "common",
libraryDependencies ++= sharedDependencies ++ testDependencies,
publishArtifact in Test := true
)
)
.settings(ScctPlugin.instrumentSettings: _*)
lazy val server = Project("server", file("server"),
dependencies = Seq(common % "compile->compile;test->test"),
settings = standardSettings ++ oneJarSettings ++ Seq(
name := "server",
libraryDependencies ++= sharedDependencies ++ serverDependencies ++ testDependencies
)
)
.configs(Atmos)
.settings(atmosSettings: _*)
.settings(ScctPlugin.instrumentSettings: _*)