mirror of https://github.com/sbt/sbt.git
define test-interface dependency in build in one place
This commit is contained in:
parent
6d4e51386f
commit
ab0d61c3fe
|
|
@ -79,11 +79,9 @@ object Sbt extends Build
|
|||
// Apache Ivy integration
|
||||
lazy val ivySub = baseProject(file("ivy"), "Ivy") dependsOn(interfaceSub, launchInterfaceSub, crossSub, logSub % "compile;test->test", ioSub % "compile;test->test", launchSub % "test->test") settings(ivy, jsch, testExclusive)
|
||||
// Runner for uniform test interface
|
||||
lazy val testingSub = baseProject(file("testing"), "Testing") dependsOn(ioSub, classpathSub, logSub, launchInterfaceSub, testAgentSub) settings(libraryDependencies += "org.scalatest" % "test-interface" % "1.0-SNAP7")
|
||||
lazy val testingSub = baseProject(file("testing"), "Testing") dependsOn(ioSub, classpathSub, logSub, launchInterfaceSub, testAgentSub) settings(testInterface)
|
||||
// Testing agent for running tests in a separate process.
|
||||
lazy val testAgentSub = project(file("testing/agent"), "Test Agent") settings(
|
||||
libraryDependencies += "org.scalatest" % "test-interface" % "1.0-SNAP7"
|
||||
)
|
||||
lazy val testAgentSub = project(file("testing/agent"), "Test Agent") settings(testInterface)
|
||||
|
||||
// Basic task engine
|
||||
lazy val taskSub = testedBaseProject(tasksPath, "Tasks") dependsOn(controlSub, collectionSub)
|
||||
|
|
|
|||
|
|
@ -162,6 +162,7 @@ object Common
|
|||
lazy val jsch = lib("com.jcraft" % "jsch" % "0.1.46" intransitive() )
|
||||
lazy val sbinary = lib("org.scala-tools.sbinary" %% "sbinary" % "0.4.1" )
|
||||
lazy val scalaCompiler = libraryDependencies <+= scalaVersion("org.scala-lang" % "scala-compiler" % _ )
|
||||
lazy val testInterface = lib("org.scalatest" % "test-interface" % "1.0-SNAP7")
|
||||
}
|
||||
object Licensed
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue