-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
54 lines (43 loc) 路 1.15 KB
/
Copy pathbuild.sbt
File metadata and controls
54 lines (43 loc) 路 1.15 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
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.21"
crossScalaVersions += "3.8.4"
scalacOptions ++= {
scalaBinaryVersion.value match {
case "2.12" => Seq("-release:8")
case _ => Nil
}
}
pluginCrossBuild / sbtVersion := {
scalaBinaryVersion.value match {
case "2.12" => "1.5.8"
case _ => "2.0.0"
}
}
scriptedSbt := {
scalaBinaryVersion.value match {
case "2.12" => "1.9.0"
case _ => "2.0.0"
}
}
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