forked from playframework/playframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.sbt
42 lines (33 loc) · 1.71 KB
/
plugins.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
// Copyright (C) Lightbend Inc. <https://www.lightbend.com>
enablePlugins(BuildInfoPlugin)
// when updating sbtNativePackager version, be sure to also update the documentation links in
// documentation/manual/working/commonGuide/production/Deploying.md
val sbtNativePackager = "1.9.7"
val mima = "1.0.1"
val sbtJavaFormatter = "0.7.0"
val sbtJmh = "0.4.3"
val webjarsLocatorCore = "0.48"
val sbtHeader = "5.6.0"
val scalafmt = "2.0.1"
val sbtTwirl: String = sys.props.getOrElse("twirl.version", "1.6.0-M1") // sync with documentation/project/plugins.sbt
val interplay: String = sys.props.getOrElse("interplay.version", "3.0.5")
buildInfoKeys := Seq[BuildInfoKey](
"sbtNativePackagerVersion" -> sbtNativePackager,
"sbtTwirlVersion" -> sbtTwirl,
)
logLevel := Level.Warn
scalacOptions ++= Seq("-deprecation", "-language:_")
addSbtPlugin("com.typesafe.play" % "interplay" % interplay)
addSbtPlugin("com.typesafe.play" % "sbt-twirl" % sbtTwirl)
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % mima)
addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % sbtJavaFormatter)
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % sbtJmh)
addSbtPlugin("de.heikoseeberger" % "sbt-header" % sbtHeader)
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % scalafmt)
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("com.lightbend.akka" % "sbt-akka-version-check" % "0.1")
libraryDependencies ++= Seq(
"org.webjars" % "webjars-locator-core" % webjarsLocatorCore
)
resolvers += Resolver.typesafeRepo("releases")