-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (38 loc) · 928 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
38
39
40
41
ThisBuild / scalafmtOnCompile := true
ThisBuild / versionScheme := Some("early-semver")
val commonSettings = Seq(
organization := "com.github.tkawachi",
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT")),
scmInfo := Some(
ScmInfo(
url("https://github.com/tkawachi/sbt-repeat/"),
"scm:git:github.com:tkawachi/sbt-repeat.git"
)
),
scalaVersion := "2.12.13",
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-Xfatal-warnings",
"-Xlint"
)
)
lazy val root = project
.in(file("."))
.enablePlugins(SbtPlugin)
.settings(commonSettings: _*)
.settings(
name := "sbt-repeat",
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++
Seq(
"-Xmx1024M",
"-XX:MaxPermSize=256M",
"-Dplugin.version=" + version.value
)
},
scriptedBufferLog := false
)