Permalink
Browse files

fix up resolvers

  • Loading branch information...
1 parent fd96c7a commit 8cdbba6c2940c393b9faeff79da42c8db59ac4a6 @ymasory committed Aug 16, 2012
Showing with 24 additions and 19 deletions.
  1. +16 −8 build.sbt
  2. +8 −11 project/plugins.sbt
View
@@ -27,14 +27,22 @@ libraryDependencies ++= Seq (
)
//improve REPL
-initialCommands := """|import scalaz._
- |import std.option._
- |import std.list._
- |println("scalaz 7 loaded!")
- |""".stripMargin
-
-//only uncomment if you need dependencies from the snapshots repo
-//resolvers += ScalaToolsSnapshots
+initialCommands in console :=
+ """|import scalaz._
+ |import std.option._
+ |import std.list._
+ |println("scalaz 7 loaded!")
+ |""".stripMargin
+
+//you may need these repos
+resolvers ++= Seq(
+ // "sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
+ // "sonatype releases" at "https://oss.sonatype.org/content/repositories/releases",
+ // Classpaths.typesafeResolver,
+ // Classpaths.typesafeSnapshots,
+ // JavaNet1Repository,
+ // JavaNet2Repository,
+)
//sbt behavior
logLevel in compile := Level.Warn
View
@@ -1,15 +1,12 @@
-resolvers += Classpaths.typesafeResolver
-
-resolvers += "Sonatype OSS" at "https://oss.sonatype.org/content/repositories/releases"
-
-resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven"
-
-resolvers += Resolver.url(
- "scalasbt",
- new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")
-)(Resolver.ivyStylePatterns)
+resolvers ++= Seq(
+ "jgit-repo" at "http://download.eclipse.org/jgit/maven",
+ Resolver.url(
+ "scalasbt",
+ new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")
+ )(Resolver.ivyStylePatterns)
+)
-libraryDependencies ++= Seq (
+libraryDependencies ++= Seq ( //note old scala and sbt versions
"com.github.siasia" % "xsbt-proguard-plugin_2.9.1" % "0.11.2-0.1.2"
)

0 comments on commit 8cdbba6

Please sign in to comment.