41 lines
1.4 KiB
Scala
41 lines
1.4 KiB
Scala
/*
|
|
* Copyright 2024 Dominic Grimm
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
val scala3Version = "3.3.1"
|
|
|
|
val keycloakVersion = "23.0.6"
|
|
val keycloakDeps = Seq(
|
|
"org.keycloak" % "keycloak-core" % keycloakVersion % "provided",
|
|
"org.keycloak" % "keycloak-server-spi" % keycloakVersion % "provided",
|
|
"org.keycloak" % "keycloak-server-spi-private" % keycloakVersion % "provided"
|
|
)
|
|
|
|
val deps = Seq(
|
|
"com.lihaoyi" %% "upickle" % "3.2.0",
|
|
"com.lightbend.akka" %% "akka-stream-alpakka-mqtt" % "7.0.1",
|
|
"com.typesafe.akka" %% "akka-stream" % "2.9.0"
|
|
)
|
|
|
|
lazy val root = project
|
|
.in(file("."))
|
|
.settings(
|
|
name := "keycloak-event-listener-mqtt",
|
|
version := keycloakVersion,
|
|
scalaVersion := scala3Version,
|
|
resolvers += "Akka library repository".at("https://repo.akka.io/maven"),
|
|
libraryDependencies ++= keycloakDeps,
|
|
libraryDependencies ++= deps
|
|
)
|