This repository has been archived by the owner on Nov 16, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
55 lines (44 loc) · 1.65 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
name := "scalatra-forms"
organization := "io.github.gitbucket"
version := "1.1.1-SNAPSHOT"
val Scala212 = "2.12.2"
scalaVersion := Scala212
crossScalaVersions := Scala212 :: "2.11.11" :: Nil
libraryDependencies ++= Seq(
"org.scalatra" %% "scalatra" % "2.5.0" % "provided",
"org.scalatra" %% "scalatra-json" % "2.5.0" % "provided",
"org.json4s" %% "json4s-jackson" % "3.5.0" % "provided",
"org.scalatra" %% "scalatra-specs2" % "2.5.0" % "test",
"org.eclipse.jetty" % "jetty-webapp" % "9.3.6.v20151106" % "provided",
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided;test"
)
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/gitbucket/scalatra-forms</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<url>https://github.com/gitbucket/scalatra-forms</url>
<connection>scm:git:https://github.com/gitbucket/scalatra-forms.git</connection>
</scm>
<developers>
<developer>
<id>takezoe</id>
<name>Naoki Takezoe</name>
<email>takezoe_at_gmail.com</email>
<timezone>+9</timezone>
</developer>
</developers>)