object BuildSettings { lazy val scalatest = "org.scalatest" %% "scalatest" % "1.9.1" // % "it, test"
val buildSettings = Defaults.defaultSettings ++ Seq(
organization := "com.softwaremill", version := "0.0.1-SNAPSHOT", scalaVersion := "2.10.2", libraryDependencies += scalatest )}
object SomeBuild extends Build { import BuildSettings._
lazy val parent: Project = Project( "root", file("."), settings = buildSettings ) aggregate(sub1, sub2)
lazy val sub1: Project = Project( "sub1", file("sub1"), settings = buildSettings ++ Defaults.itSettings ).configs(IntegrationTest)
lazy val sub2: Project = Project( "sub2", file("sub2"), settings = buildSettings )}[error] (root/*:update) java.lang.IllegalArgumentException: Cannot add dependency 'org.scalatest#scalatest_2.10;1.9.1' to configuration 'it' of module com.softwaremill#root_2.10;0.0.1-SNAPSHOT because this configuration doesn't exist!
Channing--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "simple-build-tool" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/simple-build-tool/D2XnSWvIfyM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/groups/opt_out.