-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
51 lines (35 loc) · 1.25 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
sbtPlugin := true
organization := "org.databrary"
name := "sbt-angular-templates"
description := "sbt-web plugin to generate (compressed) angular template assets from html files"
homepage := Some(url("http://github.com/databrary/sbt-angular-templates"))
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
version := "0.2.1"
scalaVersion := "2.10.4"
scalacOptions ++= Seq("-feature","-deprecation")
scalaSource in Compile := baseDirectory.value / "src"
addSbtPlugin("com.typesafe.sbt" % "sbt-web" % "1.0.2")
libraryDependencies ++= Seq(
"com.googlecode.htmlcompressor" % "htmlcompressor" % "1.5.2"
)
publishMavenStyle := true
publishArtifact in Test := false
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomIncludeRepository := { _ => false }
pomExtra := (
<scm>
<url>[email protected]:databrary/sbt-angular-templates.git</url>
<connection>scm:git:[email protected]:databrary/sbt-angular-templates.git</connection>
</scm>
<developers>
<developer>
<id>dylex</id>
<name>Dylan Simon</name>
</developer>
</developers>)