-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuild.sbt
39 lines (26 loc) · 1.04 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
sbtPlugin := true
name := "play-auto-refresh"
organization := "com.jamesward"
scalaVersion := "2.12.20"
scalacOptions ++= Seq("-unchecked", "-deprecation")
javacOptions ++= Seq("--release", "11")
description := "Auto refresh for Play Framework apps"
homepage := Some(url("https://github.com/jamesward/play-auto-refresh"))
libraryDependencies += "ws.unfiltered" %% "unfiltered-netty-websockets" % "0.12.0"
licenses += "MIT" -> url("http://opensource.org/licenses/MIT")
addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.6" % Provided)
// Customise sbt-dynver's behaviour to make it work with tags which are/aren't v-prefixed
ThisBuild / dynverVTagPrefix := true
// 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
}
developers ++= List(Developer(
"jamesward",
"James Ward",
url("https://github.com/jamesward")
),
)