forked from marmbrus/xsbt-ghpages-plugin
-
Notifications
You must be signed in to change notification settings - Fork 20
/
build.sbt
37 lines (27 loc) · 922 Bytes
/
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
enablePlugins(SbtPlugin)
scriptedBufferLog := false
scriptedLaunchOpts += ("-Dplugin.version=" + version.value)
scriptedLaunchOpts ++= {
val javaVmArgs = {
import scala.collection.JavaConverters._
java.lang.management.ManagementFactory.getRuntimeMXBean.getInputArguments.asScala.toList
}
javaVmArgs.filter(
a => Seq("-Xmx", "-Xms", "-XX", "-Dsbt.log.noformat").exists(a.startsWith)
)
}
name := "sbt-ghpages"
organization := "com.github.sbt"
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")
addSbtPlugin("com.github.sbt" % "sbt-site" % "1.7.0")
homepage := Some(url("https://github.com/sbt/sbt-ghpages"))
licenses := Seq("BSD-style" -> url("https://raw.githubusercontent.com/sbt/sbt-ghpages/master/LICENSE"))
pomExtra := (
<developers>
<developer>
<id>xuwei-k</id>
<name>Kenji Yoshida</name>
<url>https://github.com/xuwei-k</url>
</developer>
</developers>
)