-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
58 lines (45 loc) · 1.63 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
sbtPlugin := true
organization := "com.slidingautonomy.sbt"
name := "sbt-html-minifier"
version := "1.0.1-SNAPSHOT"
scalaVersion := "2.10.4"
scalacOptions += "-feature"
libraryDependencies ++= Seq(
"org.webjars" % "mkdirp" % "0.3.5",
"org.webjars" % "when-node" % "3.2.2"
)
resolvers ++= Seq(
"Typesafe Releases Repository" 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
)
addSbtPlugin("com.typesafe.sbt" % "sbt-js-engine" % "1.0.1")
scriptedSettings
scriptedLaunchOpts <+= version apply { v => s"-Dproject.version=$v" }
publishMavenStyle := true
publishTo := {
if (isSnapshot.value) Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
else Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
pomExtra :=
<url>https://github.com/rgcottrell/sbt-html-minifier</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:rgcottrell/sbt-html-minifier.git</url>
<connection>scm:git:[email protected]:rgcottrell/sbt-html-minifier.git</connection>
</scm>
<developers>
<developer>
<id>rgcottrell</id>
<name>Robert Cottrell</name>
<url>https://github.com/rgcottrell</url>
</developer>
</developers>