-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.sbt
50 lines (34 loc) · 1.36 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
sbtPlugin := true
organization := "org.scala-sbt"
name := "sbt-closure"
version <<= sbtVersion(v =>
if(v.startsWith("0.12")) "0.1.3"
else if(v.startsWith("0.13")) "0.1.4"
else error("unsupported sbt version %s" format v)
)
libraryDependencies += "com.google.javascript" % "closure-compiler" % "r1741"
libraryDependencies += "org.scalatest" %% "scalatest" % "1.9.1" % "test"
seq(scriptedSettings:_*)
seq(lsSettings:_*)
(LsKeys.tags in LsKeys.lsync) := Seq("sbt", "closure")
(description in LsKeys.lsync) :=
"Sbt plugin for compiling JavaScript manifest sources using Google Closure Compiler"
homepage := Some(url("https://github.com/eltimn/sbt-closure"))
publishTo := Some(Resolver.url("publishTo", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns))
publishMavenStyle := false
publishArtifact in Test := false
licenses in GlobalScope += "Apache License 2.0" -> url("https://github.com/eltimn/sbt-closure/raw/master/LICENSE")
pomExtra := (
<scm>
<url>git@github.com:eltimn/sbt-closure.git</url>
<connection>scm:git:git@github.com:eltimn/sbt-closure.git</connection>
</scm>
<developers>
<developer>
<id>eltimn</id>
<name>Tim Nelson</name>
<url>http://eltimn.com/</url>
</developer>
</developers>
)
scalacOptions := Seq("-deprecation", "-unchecked", "-encoding", "utf8")