forked from jlitola/play-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
57 lines (43 loc) · 1.32 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
name := "play-sass"
version := "0.4.0"
sbtPlugin := true
organization := "net.litola"
description := "SBT plugin for handling Sass assets in Play 2.3"
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
/// Dependencies
libraryDependencies ++= Seq(
"org.scalatest" % "scalatest_2.10" % "1.9.2" % "test"
)
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.1")
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
useGpg:= true
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/jlitola/play-sass</url>
<licenses>
<license>
<name>MIT-style</name>
<url>https://github.com/jlitola/play-sass/blob/master/LICENSE</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:jlitola/play-sass.git</url>
<connection>scm:git:[email protected]:jlitola/play-sass.git</connection>
</scm>
<developers>
<developer>
<id>jlitola</id>
<name>Juha Litola</name>
<url>https://github.com/jlitola</url>
</developer>
</developers>
)