Skip to content

Commit

Permalink
Bump Twitter lib versions, cleanup
Browse files Browse the repository at this point in the history
- Upgrade Twitter library versions
  - cassie: `0.22.0` -> `0.22.1`
  - finagle: `5.1.0` -> `5.3.1`
  - ostrich: `8.1.0` -> `8.2.1`
  - util: `5.2.0` -> `5.3.1`
- Clean up `Project.scala` slightly

Author: @franklinhu
Fixes #87
URL: #87
  • Loading branch information
Franklin Hu committed Jul 30, 2012
1 parent a75e854 commit c79a7fc
Showing 1 changed file with 21 additions and 52 deletions.
73 changes: 21 additions & 52 deletions project/Project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,23 @@ import java.io.File

object Zipkin extends Build {

val CASSIE_VERSION = "0.22.0"
val FINAGLE_VERSION = "5.1.0"
val OSTRICH_VERSION = "8.1.0"
val UTIL_VERSION = "5.2.0"
val CASSIE_VERSION = "0.22.1"
val FINAGLE_VERSION = "5.3.1"
val OSTRICH_VERSION = "8.2.1"
val UTIL_VERSION = "5.3.1"

val proxyRepo = Option(System.getenv("SBT_PROXY_REPO"))
val travisCi = Option(System.getenv("SBT_TRAVIS_CI")) // for adding travis ci maven repos before others

lazy val testDependencies = Seq(
"org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test",
"org.jmock" % "jmock" % "2.4.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"cglib" % "cglib" % "2.2.2" % "test",
"asm" % "asm" % "1.5.3" % "test",
"org.objenesis" % "objenesis" % "1.1" % "test"
)

lazy val zipkin =
Project(
id = "zipkin",
Expand Down Expand Up @@ -107,15 +116,7 @@ object Zipkin extends Build {
TravisCiRepos.newSettings).settings(
name := "zipkin-test",
version := "0.3.0-SNAPSHOT",
libraryDependencies ++= Seq(
/* Test dependencies */
"org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test",
"org.jmock" % "jmock" % "2.4.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"cglib" % "cglib" % "2.2.2" % "test",
"asm" % "asm" % "1.5.3" % "test",
"org.objenesis" % "objenesis" % "1.1" % "test"
)
libraryDependencies ++= testDependencies
) dependsOn(server, scribe)

lazy val thrift =
Expand Down Expand Up @@ -152,16 +153,8 @@ object Zipkin extends Build {
"com.twitter" % "ostrich" % OSTRICH_VERSION,
"com.twitter" % "util-core" % UTIL_VERSION,

"com.twitter.common.zookeeper" % "client" % "0.0.6",

/* Test dependencies */
"org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test",
"org.jmock" % "jmock" % "2.4.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"cglib" % "cglib" % "2.2.2" % "test",
"asm" % "asm" % "1.5.3" % "test",
"org.objenesis" % "objenesis" % "1.1" % "test"
)
"com.twitter.common.zookeeper" % "client" % "0.0.6"
) ++ testDependencies
)

lazy val scrooge =
Expand All @@ -187,16 +180,8 @@ object Zipkin extends Build {
incompatible with cassie 0.21.5 so made these intransitive
*/
"com.twitter" % "scrooge" % "3.0.1" intransitive(),
"com.twitter" % "scrooge-runtime_2.9.2" % "3.0.1" intransitive(),

/* Test dependencies */
"org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test",
"org.jmock" % "jmock" % "2.4.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"cglib" % "cglib" % "2.2.2" % "test",
"asm" % "asm" % "1.5.3" % "test",
"org.objenesis" % "objenesis" % "1.1" % "test"
),
"com.twitter" % "scrooge-runtime_2.9.2" % "3.0.1" intransitive()
) ++ testDependencies,

CompileThriftScrooge.scroogeVersion := "3.0.1"

Expand Down Expand Up @@ -230,16 +215,8 @@ object Zipkin extends Build {
"com.twitter.common.zookeeper" % "group" % "0.0.9",

"commons-codec" % "commons-codec" % "1.5",
"org.iq80.snappy" % "snappy" % "0.1",

/* Test dependencies */
"org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test",
"org.jmock" % "jmock" % "2.4.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"cglib" % "cglib" % "2.2.2" % "test",
"asm" % "asm" % "1.5.3" % "test",
"org.objenesis" % "objenesis" % "1.1" % "test"
),
"org.iq80.snappy" % "snappy" % "0.1"
) ++ testDependencies,

PackageDist.packageDistZipName := "zipkin-server.zip",
BuildProperties.buildPropertiesPackage := "com.twitter.zipkin",
Expand All @@ -261,15 +238,7 @@ object Zipkin extends Build {
TravisCiRepos.newSettings
).settings(
version := "0.3.0-SNAPSHOT",
libraryDependencies ++= Seq(
/* Test dependencies */
"org.scala-tools.testing" % "specs_2.9.1" % "1.6.9" % "test",
"org.jmock" % "jmock" % "2.4.0" % "test",
"org.hamcrest" % "hamcrest-all" % "1.1" % "test",
"cglib" % "cglib" % "2.2.2" % "test",
"asm" % "asm" % "1.5.3" % "test",
"org.objenesis" % "objenesis" % "1.1" % "test"
),
libraryDependencies ++= testDependencies,

PackageDist.packageDistZipName := "zipkin-scribe.zip",
BuildProperties.buildPropertiesPackage := "com.twitter.zipkin",
Expand Down

0 comments on commit c79a7fc

Please sign in to comment.