forked from john-bernardo1/sbt-closure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (30 loc) · 1.2 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-closure"
homepage := Some(new URL("https://github.com/margussipria/sbt-closure"))
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
organization := "eu.sipria.sbt"
version := "1.4.0"
scalaVersion := "2.12.12"
crossSbtVersions := Seq("1.4.4")
enablePlugins(ScriptedPlugin)
libraryDependencies += "com.google.javascript" % "closure-compiler" % "v20201102"
addSbtPlugin("com.typesafe.sbt" %% "sbt-web" % "1.4.4")
sbtTestDirectory := {
import sbt.librarymanagement.CrossVersion.binarySbtVersion
val version = (sbtVersion in pluginCrossBuild).value
sourceDirectory.value / ("sbt-test-%s" format binarySbtVersion(version))
}
scriptedLaunchOpts ++= Seq(
"-Xmx2048M",
"-XX:MaxPermSize=512M",
s"-Dproject.version=${version.value}"
)
developers := List(
Developer("ground5hark", "John Bernard", "", url("https://github.com/ground5hark")),
Developer("margussipria", "Margus Sipria", "margus+sbt-closure@sipria.fi", url("https://github.com/margussipria"))
)
scmInfo := Some(ScmInfo(
url("https://github.com/margussipria/sbt-closure"),
"scm:git:https://github.com/margussipria/sbt-closure.git",
Some("scm:git:git@github.com:margussipria/sbt-closure.git")
))