Permalink
Browse files

Explicitly specify scala version, add publish target

  • Loading branch information...
1 parent d799d4c commit 2766162a0e058fb9bad4702e40f102a6ca0a7f7c @teozkr committed Apr 30, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 project/Build.scala
View
@@ -5,7 +5,15 @@ object NinaBuild extends Build {
lazy val ninaSettings = Seq(
resolvers += "Nullable.se" at "http://nexus.nullable.se/nexus/content/groups/public/",
organization := "se.nullable.nina",
- version := "0.0.1-SNAPSHOT"
+ version := "0.0.1-SNAPSHOT",
+ scalaVersion := "2.9.1",
+
+ publishMavenStyle := true,
+ publishTo <<= (version) { version: String =>
+ val nexus = "http://nexus.nullable.se/nexus/content/repositories/"
+ if (version.trim.endsWith("-SNAPSHOT")) Some("snapshots" at nexus + "snapshots/")
+ else Some("releases" at nexus + "releases/")
+ }
)
override lazy val settings = super.settings ++ ninaSettings

0 comments on commit 2766162

Please sign in to comment.