Sha256: ed01decac14ffbba5ff2cec20292b167f0ec2388ad9b5535bd0f30450724ec0a

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

import sbt._
import Process._
import com.twitter.sbt._

/**
 * Sbt project files are written in a DSL in scala.
 *
 * The % operator is just turning strings into maven dependency declarations, so lines like
 *     val example = "com.example" % "exampleland" % "1.0.3"
 * mean to add a dependency on exampleland version 1.0.3 from provider "com.example".
 */
class BirdNameProject(info: ProjectInfo) extends StandardServiceProject(info)
  with CompileThriftScala
  with NoisyDependencies
  with DefaultRepos
  with SubversionPublisher
{
  val finagleVersion = "1.2.1"
  val finagleC = "com.twitter" % "finagle-core" % finagleVersion
  val finagleT = "com.twitter" % "finagle-thrift" % finagleVersion
  val finagleO = "com.twitter" % "finagle-ostrich4" % finagleVersion

  // thrift
  val libthrift = "thrift" % "libthrift" % "0.5.0"

  override def originalThriftNamespaces = Map("BirdName" -> "com.twitter.birdname.thrift")
  val scalaThriftTargetNamespace = "com.twitter.birdname"
  
  val slf4jVersion = "1.5.11"
  val slf4jApi = "org.slf4j" % "slf4j-api" % slf4jVersion withSources() intransitive()
  val slf4jBindings = "org.slf4j" % "slf4j-jdk14" % slf4jVersion withSources() intransitive()

  // for tests
  val specs = "org.scala-tools.testing" % "specs_2.8.1" % "1.6.7" % "test" withSources()
  val jmock = "org.jmock" % "jmock" % "2.4.0" % "test"
  val hamcrest_all = "org.hamcrest" % "hamcrest-all" % "1.1" % "test"
  val cglib = "cglib" % "cglib" % "2.1_3" % "test"
  val asm = "asm" % "asm" % "1.5.3" % "test"
  val objenesis = "org.objenesis" % "objenesis" % "1.1" % "test"

  override def mainClass = Some("com.twitter.birdname.Main")

  override def subversionRepository = Some("http://svn.local.twitter.com/maven<%= '-public' if is_public %>")
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scala-bootstrapper-0.7.2 lib/template/project/build/BirdNameProject.scala.erb