Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

really remove sbt

  • Loading branch information...
commit 4056fdbd268edcc62f3fca3e8d7f92309e3900f0 1 parent 3a74828
Ryan King authored
Showing with 0 additions and 84 deletions.
  1. +0 −60 project/Build.scala
  2. +0 −24 project/plugins.sbt
60 project/Build.scala
View
@@ -1,60 +0,0 @@
-import sbt._
-import Keys._
-import com.twitter.sbt._
-
-object Snowflake extends Build {
- val utilVersion = "5.2.0"
-
- val sharedSettings = Seq(
- version := "5.1.1-SNAPSHOT",
- organization := "com.twitter",
- SubversionPublisher.subversionRepository := Some("https://svn.twitter.biz/maven-public"),
- libraryDependencies ++= Seq(
- "org.scala-tools.testing" %% "specs" % "1.6.9" % "test" withSources(),
- "junit" % "junit" % "4.8.1" % "test" withSources(),
- "org.mockito" % "mockito-all" % "1.8.5" % "test" withSources()
- ),
- resolvers += "twitter-repo" at "http://maven.twttr.com",
-
- ivyXML :=
- <dependencies>
- <exclude org="com.sun.jmx" module="jmxri" />
- <exclude org="com.sun.jdmk" module="jmxtools" />
- <exclude org="javax.jms" module="jms" />
- </dependencies>,
-
- scalacOptions ++= Seq("-encoding", "utf8"),
- scalacOptions += "-deprecation",
-
- // This is bad news for things like com.twitter.util.Time
- parallelExecution in Test := false,
-
- // This effectively disables packageDoc, which craps out
- // on generating docs for generated thrift due to the use
- // of raw java types.
- packageDoc in Compile := new java.io.File("nosuchjar"),
-
- unmanagedResourceDirectories in Compile <+= baseDirectory{ _ / "config"}
- )
-
- lazy val finagleCore = Project(
- id = "snowflake",
- base = file("."),
- settings = Project.defaultSettings ++
- StandardProject.newSettings ++
- CompileThrift.newSettings ++
- sharedSettings
- ).settings(
- name := "snowflake",
- libraryDependencies ++= Seq(
- "commons-codec" % "commons-codec" % "1.4",
- "org.slf4j" % "slf4j-api" % "1.5.8",
- "org.slf4j" % "slf4j-nop" % "1.5.8",
- "thrift" % "libthrift" % "0.5.0",
- "com.twitter" % "ostrich" % "8.2.0",
- "com.twitter" % "scala-zookeeper-client" % "3.0.6",
- "com.twitter" % "util-logging" % "5.3.0",
- "com.twitter" % "util-thrift" % "5.3.0"
- )
- )
-}
24 project/plugins.sbt
View
@@ -1,24 +0,0 @@
-sbtResolver <<= (sbtResolver) { r =>
- Option(System.getenv("SBT_PROXY_REPO")) map { x =>
- Resolver.url("proxy repo for sbt", url(x))(Resolver.ivyStylePatterns)
- } getOrElse r
-}
-
-resolvers <<= (resolvers) { r =>
- (Option(System.getenv("SBT_PROXY_REPO")) map { url =>
- Seq("proxy-repo" at url)
- } getOrElse {
- r ++ Seq(
- "twitter.com" at "http://maven.twttr.com/",
- "scala-tools" at "http://scala-tools.org/repo-releases/",
- "maven" at "http://repo1.maven.org/maven2/",
- "freemarker" at "http://freemarker.sourceforge.net/maven2/"
- )
- }) ++ Seq("local" at ("file:" + System.getProperty("user.home") + "/.m2/repo/"))
-}
-
-externalResolvers <<= (resolvers) map identity
-
-addSbtPlugin("com.twitter" % "sbt-package-dist" % "1.0.5")
-
-addSbtPlugin("com.twitter" % "sbt-thrift2" % "0.0.1")
Please sign in to comment.
Something went wrong with that request. Please try again.