diff options
author | Ismael Juma <ismael@juma.me.uk> | 2011-07-15 03:38:25 +0100 |
---|---|---|
committer | Ismael Juma <ismael@juma.me.uk> | 2011-07-15 03:38:30 +0100 |
commit | f686e3dacb02d42dd2bb9695a96cecd85786d7b5 (patch) | |
tree | b78c3c6bb3f860d0717f1d29d6ba4776b40311c5 /project/plugins | |
parent | cf8f5de61b74c05b53d6d6de12aaa580e9bba3c7 (diff) | |
download | spark-f686e3dacb02d42dd2bb9695a96cecd85786d7b5.tar.gz spark-f686e3dacb02d42dd2bb9695a96cecd85786d7b5.tar.bz2 spark-f686e3dacb02d42dd2bb9695a96cecd85786d7b5.zip |
Initial work on converting build to SBT 0.10.1
Diffstat (limited to 'project/plugins')
-rw-r--r-- | project/plugins/SparkProjectPlugins.scala | 11 | ||||
-rw-r--r-- | project/plugins/build.sbt | 16 |
2 files changed, 16 insertions, 11 deletions
diff --git a/project/plugins/SparkProjectPlugins.scala b/project/plugins/SparkProjectPlugins.scala deleted file mode 100644 index 565f160829..0000000000 --- a/project/plugins/SparkProjectPlugins.scala +++ /dev/null @@ -1,11 +0,0 @@ -import sbt._ - -class SparkProjectPlugins(info: ProjectInfo) extends PluginDefinition(info) { - val eclipse = "de.element34" % "sbt-eclipsify" % "0.7.0" - - val sbtIdeaRepo = "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" - val sbtIdea = "com.github.mpeltonen" % "sbt-idea-plugin" % "0.4.0" - - val codaRepo = "Coda Hale's Repository" at "http://repo.codahale.com/" - val assemblySBT = "com.codahale" % "assembly-sbt" % "0.1.1" -} diff --git a/project/plugins/build.sbt b/project/plugins/build.sbt new file mode 100644 index 0000000000..c13449ae03 --- /dev/null +++ b/project/plugins/build.sbt @@ -0,0 +1,16 @@ +resolvers += { + val typesafeRepoUrl = new java.net.URL("http://repo.typesafe.com/typesafe/releases") + val pattern = Patterns(false, "[organisation]/[module]/[sbtversion]/[revision]/[type]s/[module](-[classifier])-[revision].[ext]") + Resolver.url("Typesafe Repository", typesafeRepoUrl)(pattern) +} + +resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/" + +libraryDependencies ++= Seq( + "com.github.mpeltonen" %% "sbt-idea" % "0.10.0-SNAPSHOT" +// FIXME Uncomment once version for SBT 0.10.1 is available "com.eed3si9n" %% "sbt-assembly" % "0.2" +) + +libraryDependencies <<= (libraryDependencies, sbtVersion) { (deps, version) => + deps :+ ("com.typesafe.sbteclipse" %% "sbteclipse" % "1.2" extra("sbtversion" -> version)) +}
\ No newline at end of file |