-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
41 lines (35 loc) · 987 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
name := "sbt-pekko-version-check"
organization := "nl.gn0s1s"
startYear := Some(2024)
homepage := Some(url("https://github.com/philippus/sbt-pekko-version-check"))
licenses += License.Apache2
developers := List(
Developer(
id = "philippus",
name = "Philippus Baalman",
email = "",
url = url("https://github.com/philippus")
),
Developer(
id = "johanandren",
name = "Johan Andrén",
email = "",
url = url("https://github.com/johanandren")
)
)
enablePlugins(SbtPlugin)
scalaVersion := "2.12.20"
crossScalaVersions += "3.6.2"
pluginCrossBuild / sbtVersion := {
scalaBinaryVersion.value match {
case "2.12" => "1.10.0"
case _ => "2.0.0-M3"
}
}
Compile / packageBin / packageOptions += Package.ManifestAttributes(
"Automatic-Module-Name" -> "nl.gn0s1s.pekko.versioncheck"
)
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
}
scriptedBufferLog := false