-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
43 lines (34 loc) · 1.07 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
sbtPlugin := true
name := "sbt-jslint"
organization := "com.github.philcali"
version := "0.1.3"
libraryDependencies += "com.googlecode.jslint4java" % "jslint4java" % "2.0.2"
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")
}
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://philcalicode.blogspot.com/</url>
<licenses>
<license>
<name>MIT</name>
<url>http://www.opensource.org/licenses/mit-license.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:philcali/sbt-jslint.git</url>
<connection>scm:git:[email protected]:philcali/sbt-jslint.git</connection>
</scm>
<developers>
<developer>
<id>philcali</id>
<name>Philip Cali</name>
<url>http://philcalicode.blogspot.com/</url>
</developer>
</developers>
)