This repository has been archived by the owner on Feb 20, 2018. It is now read-only.
forked from llinder/sbt-uglify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
57 lines (46 loc) · 1.67 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
sbtPlugin := true
organization := "org.danielnixon"
name := "sbt-uglify"
version := "1.0.8-SNAPSHOT"
scalaVersion := "2.10.6"
scalacOptions += "-feature"
libraryDependencies ++= Seq(
"org.webjars.npm" % "uglify-js" % "2.7.5",
"io.monix" %% "monix" % "2.2.1"
)
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.1.4")
addSbtPlugin("com.typesafe.sbt" % "sbt-web" % "1.4.0")
description := "sbt-web UglifyJS plugin"
licenses := Seq("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
publishMavenStyle := true
publishArtifact in Test := false
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
homepage := Some(url("https://github.com/danielnixon/sbt-uglify"))
pomExtra := {
<scm>
<url>git@github.com:danielnixon/sbt-uglify.git</url>
<connection>scm:git:git@github.com:danielnixon/sbt-uglify.git</connection>
</scm>
<developers>
<developer>
<id>danielnixon</id>
<name>Daniel Nixon</name>
<url>https://danielnixon.org/</url>
</developer>
</developers>
}
scriptedSettings
scriptedLaunchOpts += s"-Dproject.version=${version.value}"