pekko/project/AkkaBuild.scala

540 lines
21 KiB
Scala
Raw Normal View History

2011-09-23 10:21:03 +02:00
package akka
2011-07-04 19:16:43 +12:00
import sbt._
import Keys._
2011-09-23 10:21:03 +02:00
import com.typesafe.sbtmultijvm.MultiJvmPlugin
2011-08-04 16:49:05 +12:00
import MultiJvmPlugin.{ MultiJvm, extraOptions, jvmOptions, scalatestOptions }
2011-09-23 10:21:03 +02:00
import com.typesafe.sbtscalariform.ScalariformPlugin
import ScalariformPlugin.{ format, formatPreferences, formatSourceDirectories }
2011-08-04 16:49:05 +12:00
import java.lang.Boolean.getBoolean
2011-07-04 19:16:43 +12:00
object AkkaBuild extends Build {
System.setProperty("akka.mode", "test") // Is there better place for this?
2011-07-08 18:01:19 +12:00
lazy val buildSettings = Seq(
organization := "com.typesafe.akka",
2011-07-08 18:01:19 +12:00
version := "2.0-SNAPSHOT",
2011-09-26 11:01:20 +02:00
scalaVersion := "2.9.1"
2011-07-08 18:01:19 +12:00
)
2011-07-04 19:16:43 +12:00
lazy val akka = Project(
id = "akka",
base = file("."),
2011-07-08 18:01:19 +12:00
settings = parentSettings ++ Unidoc.settings ++ rstdocSettings ++ Seq(
parallelExecution in GlobalScope := false,
2011-07-08 12:53:36 +12:00
Unidoc.unidocExclude := Seq(samples.id, tutorials.id),
rstdocDirectory <<= baseDirectory / "akka-docs"
2011-07-08 10:20:10 +12:00
),
aggregate = Seq(actor, testkit, actorTests, stm, remote, slf4j, amqp, mailboxes, akkaSbtPlugin, samples, tutorials, docs)
//aggregate = Seq(cluster, mailboxes, camel, camelTyped)
2011-07-04 19:16:43 +12:00
)
lazy val actor = Project(
id = "akka-actor",
base = file("akka-actor"),
settings = defaultSettings ++ Seq(
autoCompilerPlugins := true,
2011-07-08 18:01:19 +12:00
libraryDependencies <+= scalaVersion { v => compilerPlugin("org.scala-lang.plugins" % "continuations" % v) },
scalacOptions += "-P:continuations:enable",
// to fix scaladoc generation
fullClasspath in doc in Compile <<= fullClasspath in Compile
2011-07-04 19:16:43 +12:00
)
)
lazy val testkit = Project(
id = "akka-testkit",
base = file("akka-testkit"),
dependencies = Seq(actor),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.testkit
)
)
lazy val actorTests = Project(
id = "akka-actor-tests",
base = file("akka-actor-tests"),
dependencies = Seq(testkit % "compile;test->test"),
2011-07-04 19:16:43 +12:00
settings = defaultSettings ++ Seq(
autoCompilerPlugins := true,
2011-07-08 18:01:19 +12:00
libraryDependencies <+= scalaVersion { v => compilerPlugin("org.scala-lang.plugins" % "continuations" % v) },
2011-07-04 19:16:43 +12:00
scalacOptions += "-P:continuations:enable",
libraryDependencies ++= Dependencies.actorTests
)
)
lazy val stm = Project(
id = "akka-stm",
base = file("akka-stm"),
2011-10-12 11:34:35 +02:00
dependencies = Seq(actor, testkit % "test->test"),
2011-07-04 19:16:43 +12:00
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.stm
)
)
lazy val remote = Project(
id = "akka-remote",
base = file("akka-remote"),
2011-10-12 11:34:35 +02:00
dependencies = Seq(stm, actorTests % "test->test", testkit % "test->test"),
settings = defaultSettings ++ multiJvmSettings ++ Seq(
libraryDependencies ++= Dependencies.cluster,
extraOptions in MultiJvm <<= (sourceDirectory in MultiJvm) { src =>
(name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq
},
scalatestOptions in MultiJvm := Seq("-r", "org.scalatest.akka.QuietReporter"),
jvmOptions in MultiJvm := {
if (getBoolean("sbt.log.noformat")) Seq("-Dakka.test.nocolor=true") else Nil
},
test in Test <<= (test in Test) dependsOn (test in MultiJvm)
)
) configs (MultiJvm)
// lazy val cluster = Project(
// id = "akka-cluster",
// base = file("akka-cluster"),
// dependencies = Seq(stm, actorTests % "test->test", testkit % "test"),
// settings = defaultSettings ++ multiJvmSettings ++ Seq(
// libraryDependencies ++= Dependencies.cluster,
// extraOptions in MultiJvm <<= (sourceDirectory in MultiJvm) { src =>
// (name: String) => (src ** (name + ".conf")).get.headOption.map("-Dakka.config=" + _.absolutePath).toSeq
// },
// scalatestOptions in MultiJvm := Seq("-r", "org.scalatest.akka.QuietReporter"),
// jvmOptions in MultiJvm := {
// if (getBoolean("sbt.log.noformat")) Seq("-Dakka.test.nocolor=true") else Nil
// },
// test in Test <<= (test in Test) dependsOn (test in MultiJvm)
// )
// ) configs (MultiJvm)
2011-07-04 19:16:43 +12:00
lazy val slf4j = Project(
id = "akka-slf4j",
base = file("akka-slf4j"),
2011-10-12 11:34:35 +02:00
dependencies = Seq(actor, testkit % "test->test"),
2011-07-04 19:16:43 +12:00
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.slf4j
)
)
lazy val amqp = Project(
id = "akka-amqp",
base = file("akka-amqp"),
dependencies = Seq(actor, testkit % "test->test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.amqp
)
)
lazy val mailboxes = Project(
id = "akka-durable-mailboxes",
base = file("akka-durable-mailboxes"),
settings = parentSettings,
aggregate = Seq(mailboxesCommon, fileMailbox, mongoMailbox, redisMailbox, beanstalkMailbox, zookeeperMailbox)
)
2011-07-04 19:16:43 +12:00
lazy val mailboxesCommon = Project(
id = "akka-mailboxes-common",
base = file("akka-durable-mailboxes/akka-mailboxes-common"),
dependencies = Seq(remote, testkit % "compile;test->test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.mailboxes
)
)
2011-07-04 19:16:43 +12:00
val testBeanstalkMailbox = SettingKey[Boolean]("test-beanstalk-mailbox")
2011-07-04 19:16:43 +12:00
lazy val beanstalkMailbox = Project(
id = "akka-beanstalk-mailbox",
base = file("akka-durable-mailboxes/akka-beanstalk-mailbox"),
dependencies = Seq(mailboxesCommon % "compile;test->test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.beanstalkMailbox,
testBeanstalkMailbox := false,
testOptions in Test <+= testBeanstalkMailbox map { test => Tests.Filter(s => test) }
)
)
2011-07-04 19:16:43 +12:00
lazy val fileMailbox = Project(
id = "akka-file-mailbox",
base = file("akka-durable-mailboxes/akka-file-mailbox"),
dependencies = Seq(mailboxesCommon % "compile;test->test", testkit % "test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.fileMailbox
)
)
2011-07-04 19:16:43 +12:00
val testRedisMailbox = SettingKey[Boolean]("test-redis-mailbox")
2011-07-04 19:16:43 +12:00
lazy val redisMailbox = Project(
id = "akka-redis-mailbox",
base = file("akka-durable-mailboxes/akka-redis-mailbox"),
dependencies = Seq(mailboxesCommon % "compile;test->test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.redisMailbox,
testRedisMailbox := false,
testOptions in Test <+= testRedisMailbox map { test => Tests.Filter(s => test) }
)
)
lazy val zookeeperMailbox = Project(
id = "akka-zookeeper-mailbox",
base = file("akka-durable-mailboxes/akka-zookeeper-mailbox"),
dependencies = Seq(mailboxesCommon % "compile;test->test", testkit % "test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.zookeeperMailbox
)
)
2011-07-04 19:16:43 +12:00
val testMongoMailbox = SettingKey[Boolean]("test-mongo-mailbox")
lazy val mongoMailbox = Project(
id = "akka-mongo-mailbox",
base = file("akka-durable-mailboxes/akka-mongo-mailbox"),
dependencies = Seq(mailboxesCommon % "compile;test->test"),
settings = defaultSettings ++ Seq(
libraryDependencies ++= Dependencies.mongoMailbox,
testMongoMailbox := false,
testOptions in Test <+= testMongoMailbox map { test => Tests.Filter(s => test) }
)
)
// lazy val camel = Project(
// id = "akka-camel",
// base = file("akka-camel"),
// dependencies = Seq(actor, slf4j, testkit % "test"),
// settings = defaultSettings ++ Seq(
// libraryDependencies ++= Dependencies.camel
// )
// )
2011-07-04 19:16:43 +12:00
// can be merged back into akka-camel
// lazy val camelTyped = Project(
// id = "akka-camel-typed",
// base = file("akka-camel-typed"),
// dependencies = Seq(camel % "compile;test->test", testkit % "test"),
// settings = defaultSettings
// )
2011-07-04 19:16:43 +12:00
// lazy val spring = Project(
// id = "akka-spring",
// base = file("akka-spring"),
// dependencies = Seq(cluster, camel),
// settings = defaultSettings ++ Seq(
// libraryDependencies ++= Dependencies.spring
// )
// )
// lazy val kernel = Project(
// id = "akka-kernel",
// base = file("akka-kernel"),
2011-11-08 14:57:11 +01:00
// dependencies = Seq(cluster, slf4j, spring),
2011-07-04 19:16:43 +12:00
// settings = defaultSettings ++ Seq(
// libraryDependencies ++= Dependencies.kernel
// )
// )
lazy val akkaSbtPlugin = Project(
id = "akka-sbt-plugin",
base = file("akka-sbt-plugin"),
settings = defaultSettings ++ Seq(
sbtPlugin := true
)
)
2011-07-04 19:16:43 +12:00
lazy val samples = Project(
id = "akka-samples",
base = file("akka-samples"),
2011-07-08 18:01:19 +12:00
settings = parentSettings,
aggregate = Seq(fsmSample)
// aggregate = Seq(fsmSample, camelSample)
2011-07-04 19:16:43 +12:00
)
// lazy val antsSample = Project(
// id = "akka-sample-ants",
// base = file("akka-samples/akka-sample-ants"),
// dependencies = Seq(stm),
// settings = defaultSettings
// )
// lazy val chatSample = Project(
// id = "akka-sample-chat",
// base = file("akka-samples/akka-sample-chat"),
// dependencies = Seq(cluster),
// settings = defaultSettings
// )
lazy val fsmSample = Project(
id = "akka-sample-fsm",
base = file("akka-samples/akka-sample-fsm"),
dependencies = Seq(actor),
settings = defaultSettings
)
// lazy val camelSample = Project(
// id = "akka-sample-camel",
// base = file("akka-samples/akka-sample-camel"),
// dependencies = Seq(actor, camelTyped, testkit % "test"),
// settings = defaultSettings ++ Seq(
// libraryDependencies ++= Dependencies.sampleCamel
// )
// )
2011-07-16 10:38:17 +02:00
2011-07-04 19:16:43 +12:00
// lazy val helloSample = Project(
// id = "akka-sample-hello",
// base = file("akka-samples/akka-sample-hello"),
// dependencies = Seq(kernel),
// settings = defaultSettings
// )
// lazy val remoteSample = Project(
// id = "akka-sample-remote",
// base = file("akka-samples/akka-sample-remote"),
// dependencies = Seq(cluster),
// settings = defaultSettings
// )
lazy val tutorials = Project(
id = "akka-tutorials",
base = file("akka-tutorials"),
2011-07-08 18:01:19 +12:00
settings = parentSettings,
2011-07-04 19:16:43 +12:00
aggregate = Seq(firstTutorial, secondTutorial)
)
lazy val firstTutorial = Project(
id = "akka-tutorial-first",
base = file("akka-tutorials/akka-tutorial-first"),
dependencies = Seq(actor),
settings = defaultSettings
)
lazy val secondTutorial = Project(
id = "akka-tutorial-second",
base = file("akka-tutorials/akka-tutorial-second"),
dependencies = Seq(actor),
settings = defaultSettings
)
lazy val docs = Project(
id = "akka-docs",
base = file("akka-docs"),
2011-11-08 14:57:11 +01:00
dependencies = Seq(actor, testkit % "test->test", stm, remote, slf4j),
settings = defaultSettings ++ Seq(
unmanagedSourceDirectories in Test <<= baseDirectory { _ ** "code" get },
libraryDependencies ++= Dependencies.docs,
formatSourceDirectories in Test <<= unmanagedSourceDirectories in Test
)
)
2011-07-04 19:16:43 +12:00
// Settings
2011-07-08 18:01:19 +12:00
override lazy val settings = super.settings ++ buildSettings ++ Publish.versionSettings
2011-07-26 17:49:08 +12:00
lazy val baseSettings = Defaults.defaultSettings ++ Publish.settings
2011-07-08 18:01:19 +12:00
lazy val parentSettings = baseSettings ++ Seq(
publishArtifact in Compile := false
2011-07-04 19:16:43 +12:00
)
2011-07-14 14:10:37 +12:00
val testExcludes = SettingKey[Seq[String]]("test-excludes")
def akkaTestExcludes: Seq[String] = {
val exclude = System.getProperty("akka.test.exclude", "")
if (exclude.isEmpty) Seq.empty else exclude.split(",").toSeq
}
2011-07-26 17:49:08 +12:00
lazy val defaultSettings = baseSettings ++ formatSettings ++ Seq(
2011-07-04 19:16:43 +12:00
resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/",
resolvers += "Twitter Public Repo" at "http://maven.twttr.com", // This will be going away with com.mongodb.async's next release
2011-07-04 19:16:43 +12:00
// compile options
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked") ++ (
if (true || (System getProperty "java.runtime.version" startsWith "1.7")) Seq() else Seq("-optimize")), // -optimize fails with jdk7
2011-07-04 19:16:43 +12:00
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
// add config dir to classpaths
unmanagedClasspath in Runtime <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
unmanagedClasspath in Test <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
// disable parallel tests
2011-07-14 14:10:37 +12:00
parallelExecution in Test := false,
// for excluding tests in jenkins builds (-Dakka.test.exclude=TimingSpec)
testExcludes := akkaTestExcludes,
testOptions in Test <++= testExcludes map { _.map(exclude => Tests.Filter(test => !test.contains(exclude))) },
// show full stack traces
testOptions in Test += Tests.Argument("-oF")
2011-07-04 19:16:43 +12:00
)
2011-07-08 12:53:36 +12:00
2011-07-26 17:49:08 +12:00
lazy val formatSettings = ScalariformPlugin.settings ++ Seq(
formatPreferences in Compile := formattingPreferences,
formatPreferences in Test := formattingPreferences
)
def formattingPreferences = {
import scalariform.formatter.preferences._
FormattingPreferences()
.setPreference(RewriteArrowSymbols, true)
.setPreference(AlignParameters, true)
.setPreference(AlignSingleLineCaseStatements, true)
}
lazy val multiJvmSettings = MultiJvmPlugin.settings ++ inConfig(MultiJvm)(ScalariformPlugin.formatSettings) ++ Seq(
compileInputs in MultiJvm <<= (compileInputs in MultiJvm) dependsOn (format in MultiJvm),
formatPreferences in MultiJvm := formattingPreferences
)
2011-07-08 12:53:36 +12:00
// reStructuredText docs
val rstdocDirectory = SettingKey[File]("rstdoc-directory")
val rstdoc = TaskKey[File]("rstdoc", "Build the reStructuredText documentation.")
lazy val rstdocSettings = Seq(rstdoc <<= rstdocTask)
def rstdocTask = (rstdocDirectory, streams) map {
(dir, s) => {
s.log.info("Building reStructuredText documentation...")
val exitCode = Process(List("make", "clean", "html", "pdf"), dir) ! s.log
2011-09-23 10:21:03 +02:00
if (exitCode != 0) sys.error("Failed to build docs.")
2011-07-08 12:53:36 +12:00
s.log.info("Done building docs.")
dir
}
}
2011-07-04 19:16:43 +12:00
}
// Dependencies
object Dependencies {
import Dependency._
val testkit = Seq(Test.scalatest, Test.junit)
2011-07-04 19:16:43 +12:00
val actorTests = Seq(
Test.junit, Test.scalatest, Test.multiverse, Test.commonsMath, Test.mockito,
2011-07-11 14:19:53 -06:00
Test.scalacheck, protobuf, jacksonMapper, sjson
)
2011-07-04 19:16:43 +12:00
val stm = Seq(multiverse, Test.junit, Test.scalatest)
val cluster = Seq(
bookkeeper, commonsCodec, commonsIo, guice, h2Lzf, jacksonCore, jacksonMapper, log4j, netty,
protobuf, sjson, zkClient, zookeeper, zookeeperLock, Test.junit, Test.scalatest
)
2011-07-04 19:16:43 +12:00
val slf4j = Seq(slf4jApi)
val amqp = Seq(rabbit, commonsIo, protobuf)
val mailboxes = Seq(Test.scalatest, Test.junit)
val fileMailbox = Seq(Test.scalatest, Test.junit)
2011-07-04 19:16:43 +12:00
val beanstalkMailbox = Seq(beanstalk, Test.junit)
2011-07-04 19:16:43 +12:00
val redisMailbox = Seq(redis, Test.junit)
2011-07-04 19:16:43 +12:00
val mongoMailbox = Seq(mongoAsync, twttrUtilCore, Test.junit)
val zookeeperMailbox = Seq(zookeeper, Test.junit)
// val camel = Seq(camelCore, Test.junit, Test.scalatest, Test.logback)
2011-07-04 19:16:43 +12:00
val spring = Seq(springBeans, springContext, Test.junit, Test.scalatest)
// val spring = Seq(springBeans, springContext, camelSpring, Test.junit, Test.scalatest)
2011-07-04 19:16:43 +12:00
val kernel = Seq(
2011-11-08 14:57:11 +01:00
jettyUtil, jettyXml, jettyServlet, jacksonCore, staxApi
)
2011-07-16 10:38:17 +02:00
2011-08-26 17:25:18 +02:00
// TODO: resolve Jetty version conflict
// val sampleCamel = Seq(camelCore, camelSpring, commonsCodec, Runtime.camelJms, Runtime.activemq, Runtime.springJms,
// Test.junit, Test.scalatest, Test.logback)
val docs = Seq(Test.scalatest, Test.junit)
2011-07-04 19:16:43 +12:00
}
object Dependency {
// Versions
object V {
2011-08-26 17:25:18 +02:00
val Camel = "2.8.0"
2011-07-04 19:16:43 +12:00
val Jackson = "1.8.0"
val JavaxServlet = "3.0"
val Jersey = "1.3"
val Jetty = "7.4.0.v20110414"
val Logback = "0.9.28"
val Multiverse = "0.6.2"
val Netty = "3.2.5.Final"
2011-07-04 19:16:43 +12:00
val Protobuf = "2.4.1"
2011-07-11 14:19:53 -06:00
val Scalatest = "1.6.1"
2011-07-04 19:16:43 +12:00
val Slf4j = "1.6.0"
val Spring = "3.0.5.RELEASE"
val Zookeeper = "3.4.0"
val Rabbit = "2.3.1"
2011-07-04 19:16:43 +12:00
}
// Compile
val beanstalk = "beanstalk" % "beanstalk_client" % "1.4.5" // New BSD
val bookkeeper = "org.apache.hadoop.zookeeper" % "bookkeeper" % V.Zookeeper // ApacheV2
2011-08-26 17:25:18 +02:00
val camelCore = "org.apache.camel" % "camel-core" % V.Camel // ApacheV2
val camelSpring = "org.apache.camel" % "camel-spring" % V.Camel // ApacheV2
2011-07-04 19:16:43 +12:00
val commonsCodec = "commons-codec" % "commons-codec" % "1.4" // ApacheV2
val commonsIo = "commons-io" % "commons-io" % "2.0.1" // ApacheV2
val guice = "org.guiceyfruit" % "guice-all" % "2.0" // ApacheV2
val h2Lzf = "voldemort.store.compress" % "h2-lzf" % "1.0" // ApacheV2
val jacksonCore = "org.codehaus.jackson" % "jackson-core-asl" % V.Jackson // ApacheV2
val jacksonMapper = "org.codehaus.jackson" % "jackson-mapper-asl" % V.Jackson // ApacheV2
val jettyUtil = "org.eclipse.jetty" % "jetty-util" % V.Jetty // Eclipse license
val jettyXml = "org.eclipse.jetty" % "jetty-xml" % V.Jetty // Eclipse license
val jettyServlet = "org.eclipse.jetty" % "jetty-servlet" % V.Jetty // Eclipse license
val log4j = "log4j" % "log4j" % "1.2.15" // ApacheV2
val mongoAsync = "com.mongodb.async" % "mongo-driver_2.9.0-1" % "0.2.9-1" // ApacheV2
2011-07-04 19:16:43 +12:00
val multiverse = "org.multiverse" % "multiverse-alpha" % V.Multiverse // ApacheV2
val netty = "org.jboss.netty" % "netty" % V.Netty // ApacheV2
val osgi = "org.osgi" % "org.osgi.core" % "4.2.0" // ApacheV2
val protobuf = "com.google.protobuf" % "protobuf-java" % V.Protobuf // New BSD
val rabbit = "com.rabbitmq" % "amqp-client" % V.Rabbit // Mozilla Public License
2011-09-26 11:01:20 +02:00
val redis = "net.debasishg" %% "redisclient" % "2.4.0" // ApacheV2
val sjson = "net.debasishg" %% "sjson" % "0.15" // ApacheV2
2011-07-04 19:16:43 +12:00
val slf4jApi = "org.slf4j" % "slf4j-api" % V.Slf4j // MIT
val springBeans = "org.springframework" % "spring-beans" % V.Spring // ApacheV2
val springContext = "org.springframework" % "spring-context" % V.Spring // ApacheV2
val staxApi = "javax.xml.stream" % "stax-api" % "1.0-2" // ApacheV2
2011-08-04 16:49:05 +12:00
val twttrUtilCore = "com.twitter" % "util-core" % "1.8.1" // ApacheV2
2011-07-04 19:16:43 +12:00
val zkClient = "zkclient" % "zkclient" % "0.3" // ApacheV2
val zookeeper = "org.apache.hadoop.zookeeper" % "zookeeper" % V.Zookeeper // ApacheV2
val zookeeperLock = "org.apache.hadoop.zookeeper" % "zookeeper-recipes-lock" % V.Zookeeper // ApacheV2
// Provided
object Provided {
val javaxServlet = "org.apache.geronimo.specs" % "geronimo-servlet_3.0_spec" % "1.0" % "provided" // CDDL v1
val jetty = "org.eclipse.jetty" % "jetty-server" % V.Jetty % "provided" // Eclipse license
2011-07-04 19:16:43 +12:00
}
// Runtime
object Runtime {
2011-07-16 10:38:17 +02:00
val activemq = "org.apache.activemq" % "activemq-core" % "5.4.2" % "runtime" // ApacheV2
2011-08-26 17:25:18 +02:00
val camelJetty = "org.apache.camel" % "camel-jetty" % V.Camel % "runtime" // ApacheV2
2011-07-16 10:38:17 +02:00
val camelJms = "org.apache.camel" % "camel-jms" % V.Camel % "runtime" // ApacheV2
val logback = "ch.qos.logback" % "logback-classic" % V.Logback % "runtime" // MIT
val springJms = "org.springframework" % "spring-jms" % V.Spring % "runtime" // ApacheV2
}
2011-07-04 19:16:43 +12:00
// Test
object Test {
val commonsColl = "commons-collections" % "commons-collections" % "3.2.1" % "test" // ApacheV2
val commonsMath = "org.apache.commons" % "commons-math" % "2.1" % "test" // ApacheV2
val jetty = "org.eclipse.jetty" % "jetty-server" % V.Jetty % "test" // Eclipse license
val jettyWebapp = "org.eclipse.jetty" % "jetty-webapp" % V.Jetty % "test" // Eclipse license
val junit = "junit" % "junit" % "4.5" % "test" // Common Public License 1.0
val logback = "ch.qos.logback" % "logback-classic" % V.Logback % "test" // EPL 1.0 / LGPL 2.1
val mockito = "org.mockito" % "mockito-all" % "1.8.1" % "test" // MIT
val multiverse = "org.multiverse" % "multiverse-alpha" % V.Multiverse % "test" // ApacheV2
2011-09-26 11:01:20 +02:00
val scalatest = "org.scalatest" %% "scalatest" % V.Scalatest % "test" // ApacheV2
val scalacheck = "org.scala-tools.testing" %% "scalacheck" % "1.9" % "test" // New BSD
2011-07-04 19:16:43 +12:00
}
}