-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sbt
49 lines (41 loc) · 1.59 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
44
45
46
47
48
49
import org.typelevel.scalacoptions.ScalacOption
import org.typelevel.scalacoptions.ScalacOptions
organization := "com.guizmaii"
name := "scala-nimbus-jose-jwt"
scalafmtOnCompile := true
scalafmtCheck := true
scalafmtSbtCheck := true
lazy val scala212 = "2.12.20"
lazy val scala213 = "2.13.15"
scalaVersion := scala213
crossScalaVersions := Seq(scala212, scala213)
val nimbusJwt = "com.nimbusds" % "nimbus-jose-jwt" % "9.47"
val scalaCollectionCompat = "org.scala-lang.modules" %% "scala-collection-compat" % "2.12.0"
val scalaCheck = "org.scalacheck" %% "scalacheck" % "1.18.1" % Test
val scalatest = "org.scalatest" %% "scalatest" % "3.2.19" % Test
val scalatestPlus = "org.scalatestplus" %% "scalacheck-1-16" % "3.2.14.0" % Test
val catsScalatest = "com.ironcorelabs" %% "cats-scalatest" % "3.1.1" % Test
libraryDependencies ++= Seq(
nimbusJwt,
scalaCollectionCompat,
scalaCheck,
scalatest,
scalatestPlus,
catsScalatest
)
Test / tpolecatExcludeOptions ++= Set(ScalacOptions.warnValueDiscard, ScalacOptions.privateWarnValueDiscard)
inThisBuild(
List(
organization := "com.guizmaii",
homepage := Some(url("https://github.com/guizmaii/scala-nimbus-jose-jwt")),
licenses := List("MIT" -> url("http://opensource.org/licenses/MIT")),
developers := List(
Developer(
"guizmaii",
"Jules Ivanic",
url("https://blog.jules-ivanic.com/#/")
)
)
)
)