-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.sbt
26 lines (19 loc) · 882 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
lazy val `sbt-digest` = project in file(".")
enablePlugins(SbtWebBase)
sonatypeProfileName := "com.github.sbt.sbt-digest" // See https://issues.sonatype.org/browse/OSSRH-77819#comment-1203625
description := "sbt-web plugin for adding checksum files for web assets. Checksums are useful for asset fingerprinting and etag values"
developers += Developer(
"playframework",
"The Play Framework Team",
"contact@playframework.com",
url("https://github.com/playframework")
)
addSbtJsEngine("1.3.9")
// 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
}