Skip to content

Instantly share code, notes, and snippets.

@er1c
Created January 31, 2022 19:00
Show Gist options
  • Save er1c/2fc4a587ff54bbe719546b1b92bf6c7c to your computer and use it in GitHub Desktop.
Save er1c/2fc4a587ff54bbe719546b1b92bf6c7c to your computer and use it in GitHub Desktop.
val v = new {
lazy val scalaTestVersion = "3.2.9"
}
ThisBuild / scalaVersion := "2.13.7"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.example"
ThisBuild / organizationName := "example"
lazy val root = (project in file("."))
.settings(
name := "okta-jwt-verifier-scala-example",
libraryDependencies ++= Seq(
"com.okta.jwt" % "okta-jwt-verifier" % "0.5.1",
"com.okta.jwt" % "okta-jwt-verifier-impl" % "0.5.1" % "runtime",
// Note: ideally, these should be transitive dependencies
//"io.jsonwebtoken" % "jjwt-api" % "0.11.2", // % "runtime,test",
//"io.jsonwebtoken" % "jjwt-impl" % "0.11.2", //% "runtime,test",
"com.squareup.okhttp3" % "mockwebserver" % "4.9.3" % Test,
"org.scalatest" %% "scalatest" % v.scalaTestVersion % Test,
"com.typesafe.play" %% "play-json" % "2.8.2" % Test,
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment