forked from playframework/play-mailer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
27 lines (18 loc) · 883 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name := "play-plugins-mailer"
organization := "com.typesafe.play.plugins"
version := "2.4.0-M2-SNAPSHOT"
scalaVersion := "2.11.1"
crossScalaVersions := Seq("2.11.1", "2.10.4")
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play" % "2.4.0-M2" % "provided",
"org.apache.commons" % "commons-email" % "1.3.3",
"org.specs2" %% "specs2-core" % "2.4.9" % "test"
)
publishTo <<= (version) { version: String =>
val nexus = "https://private-repo.typesafe.com/typesafe/"
if (version.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "maven-snapshots/")
else Some("releases" at nexus + "maven-releases/")
}
javacOptions ++= Seq("-source", "1.6", "-target", "1.6", "-Xlint:unchecked", "-encoding", "UTF-8")
scalacOptions += "-deprecation"