This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
forked from nkallen/querulous
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from twitter/birdcageable
changes to allow mirroring in the birdcage, building in CI, and using latest finagle and util. everything should continue to work normally when not in the birdcage, but if there are any problems, just ping me!
- Loading branch information
Showing
11 changed files
with
241 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
import sbt._ | ||
import scala.collection.jcl | ||
|
||
class Plugins(info: ProjectInfo) extends PluginDefinition(info) { | ||
val twitter = "twitter.com" at "http://maven.twttr.com/" | ||
val standardProject = "com.twitter" % "standard-project" % "0.12.7" | ||
val environment = jcl.Map(System.getenv()) | ||
def isSBTOpenTwitter = environment.get("SBT_OPEN_TWITTER").isDefined | ||
def isSBTTwitter = environment.get("SBT_TWITTER").isDefined | ||
|
||
override def repositories = if (isSBTOpenTwitter) { | ||
Set("twitter.artifactory" at "http://artifactory.local.twitter.com/open-source/") | ||
} else if (isSBTTwitter) { | ||
Set("twitter.artifactory" at "http://artifactory.local.twitter.com/repo/") | ||
} else { | ||
super.repositories ++ Seq("twitter.com" at "http://maven.twttr.com/") | ||
} | ||
override def ivyRepositories = Seq(Resolver.defaultLocal(None)) ++ repositories | ||
|
||
val defaultProject = "com.twitter" % "standard-project" % "1.0.4" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#Automatically generated by ProjectDependencies | ||
#Wed Jan 25 09:06:45 PST 2012 | ||
com.twitter/finagle-core=3.0.0 | ||
com.twitter/finagle-ostrich4=3.0.0 | ||
com.twitter/util-core=3.0.0 | ||
finagle|finagle-core=com.twitter/finagle-core | ||
finagle|finagle-ostrich4=com.twitter/finagle-ostrich4 | ||
util|util-core=com.twitter/util-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.