forked from 67726e/Spring-MVC-Twirl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
58 lines (42 loc) · 1.47 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import play.twirl.sbt.SbtTwirl
import SonatypeKeys._
name := "spring-mvc-twirl"
organization := "us.hexcoder"
version := "1.1.0-SNAPSHOT"
scalaVersion := "2.11.2"
sbtVersion := "0.13.5"
lazy val root = (project in file(".")).enablePlugins(SbtTwirl)
libraryDependencies ++= Seq(
"org.springframework" % "spring-webmvc" % "4.0.6.RELEASE",
"com.typesafe.play" % "twirl-api_2.11" % "1.0.2",
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided",
"com.google.guava" % "guava" % "17.0"
)
// Test dependencies
libraryDependencies ++= Seq(
"junit" % "junit" % "4.11" % Test,
"org.scalatest" % "scalatest_2.11" % "2.2.1" % Test,
"org.mockito" % "mockito-core" % "1.9.5" % Test,
"org.hamcrest" % "hamcrest-all" % "1.3" % Test,
"org.springframework" % "spring-test" % "4.0.6.RELEASE" % Test
)
// Publish configurations
sonatypeSettings
publishMavenStyle := true
publishArtifact in Test := false
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/67726e/Spring-MVC-Twirl"))
pomIncludeRepository := { _ => false }
// Additional POM information for releases
pomExtra :=
<developers>
<developer>
<name>Glenn Nelson</name>
<email>[email protected]</email>
</developer>
</developers>
<scm>
<connection>scm:git:[email protected]:67726e/Spring-MVC-Twirl.git</connection>
<developerConnection>scm:git:[email protected]:67726e/Spring-MVC-Twirl.git</developerConnection>
<url>[email protected]:67726e/Spring-MVC-Twirl.git</url>
</scm>