-
Notifications
You must be signed in to change notification settings - Fork 76
/
build.sbt
41 lines (32 loc) · 1.19 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
Global / onChangedBuildSource := ReloadOnSourceChanges
enablePlugins(SbtTwirl)
enablePlugins(SbtPlugin)
organization := "org.xerial.sbt"
organizationName := "Xerial project"
name := "sbt-pack"
organizationHomepage := Some(new URL("http://xerial.org/"))
description := "A sbt plugin for packaging distributable Scala code"
publishMavenStyle := true
Test / publishArtifact := false
pomIncludeRepository := { _ =>
false
}
ThisBuild / scalaVersion := "2.12.20"
parallelExecution := true
crossPaths := false
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked")
scriptedBufferLog := false
scriptedLaunchOpts ++= {
import scala.collection.JavaConverters._
management.ManagementFactory
.getRuntimeMXBean()
.getInputArguments().asScala
.filter(a => Seq("-Xmx", "-Xms").contains(a) || a.startsWith("-XX")).toSeq ++
Seq("-Dplugin.version=" + version.value)
}
testFrameworks += new TestFramework("wvlet.airspec.Framework")
libraryDependencies ++= Seq(
"org.wvlet.airframe" %% "airspec" % "24.12.2" % Test,
"org.apache.commons" % "commons-compress" % "1.27.1",
"org.tukaani" % "xz" % "1.10"
)