Skip to content

Instantly share code, notes, and snippets.

@bandrzejczak
Created February 9, 2018 22:16
Show Gist options
  • Save bandrzejczak/2219b580e8230bc9f07cc7829818f85e to your computer and use it in GitHub Desktop.
Save bandrzejczak/2219b580e8230bc9f07cc7829818f85e to your computer and use it in GitHub Desktop.
name := "keycloak-akka-http"
version := "1.0"
scalaVersion := "2.11.7"
val akkaV = "2.4.1"
val akkaStreamV = "2.0-M2"
val akka = Seq (
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-http-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-spray-json-experimental" % akkaStreamV
)
val logging = Seq (
"org.slf4j" % "slf4j-api" % "1.7.12",
"ch.qos.logback" % "logback-classic" % "1.1.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
"com.typesafe.akka" %% "akka-slf4j" % akkaV
)
val keycloak = Seq (
"org.keycloak" % "keycloak-adapter-core" % "1.6.1.Final",
// we include all necessary transitive dependencies,
// because they're marked provided in keycloak pom.xml
"org.keycloak" % "keycloak-core" % "1.6.1.Final",
"org.jboss.logging" % "jboss-logging" % "3.3.0.Final",
"org.apache.httpcomponents" % "httpclient" % "4.5.1"
)
libraryDependencies ++= akka ++ logging ++ keycloak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment