-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.sbt
43 lines (32 loc) · 1.29 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
43
lazy val `sbt-js-engine` = project in file(".")
enablePlugins(SbtWebBase)
sonatypeProfileName := "com.github.sbt.sbt-js-engine" // See https://issues.sonatype.org/browse/OSSRH-77819#comment-1203625
description := "sbt js engine plugin"
developers += Developer(
"playframework",
"The Play Framework Team",
url("https://github.com/playframework")
)
libraryDependencies ++= Seq(
"org.specs2" %% "specs2-core" % "4.10.3" % "test",
"org.specs2" %% "specs2-scalacheck" % "4.10.3" % "test",
"io.spray" %% "spray-json" % "1.3.6",
// Trireme
"io.apigee.trireme" % "trireme-core" % "0.9.4",
"io.apigee.trireme" % "trireme-node10src" % "0.9.4",
// NPM
"org.webjars" % "npm" % "5.0.0-2", // we are currently stuck: https://github.com/webjars/webjars/issues/1926
"org.webjars" % "webjars-locator-core" % "0.59",
// Test deps
"junit" % "junit" % "4.13.2" % "test"
)
addSbtWeb("1.5.8")
// 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
}