-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
40 lines (31 loc) · 941 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
name := "sbt-license-check"
organization := "nl.gn0s1s"
startYear := Some(2022)
homepage := Some(url("https://github.com/philippus/sbt-license-check"))
licenses += ("MPL-2.0", url("https://www.mozilla.org/MPL/2.0/"))
developers := List(
Developer(
id = "philippus",
name = "Philippus Baalman",
email = "",
url = url("https://github.com/philippus")
)
)
enablePlugins(SbtPlugin)
scalaVersion := "2.12.20"
crossScalaVersions += "3.6.2"
pluginCrossBuild / sbtVersion := {
scalaBinaryVersion.value match {
case "2.12" => "1.5.8"
case _ => "2.0.0-M3"
}
}
versionScheme := Some("semver-spec")
Compile / packageBin / packageOptions += Package.ManifestAttributes(
"Automatic-Module-Name" -> "nl.gn0s1s.licensecheck"
)
scalacOptions += "-deprecation"
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
}
scriptedBufferLog := false