-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.sbt
32 lines (28 loc) · 1 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
import Dependencies._
// Customise sbt-dynver's behaviour to make it work with tags which aren't v-prefixed
ThisBuild / dynverVTagPrefix := false
// Sanity-check: assert that version comes from a tag (e.g. not a too-shallow clone)
// https://github.com/dwijnand/sbt-dynver/#sanity-checking-the-version
Global / onLoad := (Global / onLoad).value.andThen { s =>
dynverAssertTagVersion.value
s
}
val previousVersion: Option[String] = Some("3.0.0")
lazy val cachecontrol = (project in file("."))
.enablePlugins(Common)
.settings(
libraryDependencies ++= Seq(
parserCombinators(scalaVersion.value),
scalaTest,
slf4j,
slf4jSimple % Test
),
mimaPreviousArtifacts := previousVersion.map(organization.value %% moduleName.value % _).toSet,
headerLicense := {
Some(
HeaderLicense.Custom(
s"Copyright (C) from 2022 The Play Framework Contributors <https://github.com/playframework>, 2011-2021 Lightbend Inc. <https://www.lightbend.com>"
)
)
}
)