-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
61 lines (49 loc) · 1.56 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
58
59
60
61
sbtPlugin := true
organization := "net.ground5hark.sbt"
name := "sbt-closure"
version := "0.1.4"
scalaVersion := "2.10.4"
libraryDependencies += "com.google.javascript" % "closure-compiler" % "v20140625"
addSbtPlugin("com.typesafe.sbt" %% "sbt-web" % "1.0.2")
resolvers ++= Seq(
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/",
Resolver.url("sbt snapshot plugins", url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots"))(Resolver.ivyStylePatterns),
Resolver.sonatypeRepo("snapshots"),
"Typesafe Snapshots Repository" at "http://repo.typesafe.com/typesafe/snapshots/",
Resolver.mavenLocal
)
publishMavenStyle := true
scriptedSettings
scriptedLaunchOpts ++= Seq(
"-Xmx2048M",
"-XX:MaxPermSize=512M",
s"-Dproject.version=${version.value}"
)
publishTo := {
val nexus = "https://oss.sonatype.org/"
Some(if (isSnapshot.value) {
"snapshots" at nexus + "content/repositories/snapshots"
} else {
"releases" at nexus + "service/local/staging/deploy/maven2"
})
}
pomExtra := (
<url>https://github.com/ground5hark/sbt-closure</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:ground5hark/sbt-closure.git</url>
<connection>scm:git:[email protected]:ground5hark/sbt-closure.git</connection>
</scm>
<developers>
<developer>
<id>ground5hark</id>
<name>John Bernardo</name>
<url>https://github.com/ground5hark</url>
</developer>
</developers>)