releaseSettings organization := "picsolve" val artifactId = "lib.hello_world" name := artifactId moduleName := artifactId lazy val root = (project in file(".")).enablePlugins(PlayScala) scalaVersion := "2.11.6" lazy val picsolveArtifactoryRepository = "http://artifactory.dev.services.picsolve.net:8081/artifactory" lazy val picsolveResolvers = Seq ( "Picsolve releases repository" at s"$picsolveArtifactoryRepository/libs-release/", "Picsolve snapshots repository" at s"$picsolveArtifactoryRepository/libs-snapshot/" ) resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" resolvers ++= picsolveResolvers resolvers += "scalaz-bintray" at "http://dl.bintray.com/scalaz/releases" libraryDependencies ++= Seq( specs2 % Test, "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0" ) publishTo <<= version { (v: String) => val repo = "http://artifactory.dev.services.picsolve.net:8081/artifactory/" if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at repo + "libs-snapshot-local") else Some("releases" at repo + "libs-release-local") }