-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.sbt
42 lines (39 loc) · 1.33 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
42
import com.typesafe.tools.mima.core._
inThisBuild(List(
organization := "ch.epfl.scala",
homepage := Some(url("https://github.com/scalacenter/sbt-version-policy")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"alexarchambault",
"Alexandre Archambault",
"",
url("https://github.com/alexarchambault")
)
),
versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
libraryDependencySchemes += "com.typesafe" %% "mima-core" % "semver-spec"
))
lazy val root = (project in file("."))
.aggregate(`sbt-version-policy`)
.settings(
name := "sbt-version-policy root",
publish / skip := true,
)
lazy val `sbt-version-policy` = project
.enablePlugins(SbtPlugin)
.settings(
scriptedLaunchOpts += "-Dplugin.version=" + version.value,
scriptedBufferLog := false,
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.4"),
libraryDependencies ++= Seq(
"io.get-coursier" % "interface" % "1.0.24",
"io.get-coursier" %% "versions" % "0.3.1",
"com.lihaoyi" %% "ujson" % "3.1.4", // FIXME shade
"com.eed3si9n.verify" %% "verify" % "2.0.1" % Test,
),
testFrameworks += new TestFramework("verify.runner.Framework"),
mimaBinaryIssueFilters ++= Seq(
// Add Mima filters here
),
)