-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (40 loc) · 1.47 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
ThisBuild / organization := "org.hyperledger"
ThisBuild / autoScalaLibrary := false
ThisBuild / crossPaths := false
val V = new {
val keycloak = "23.0.7"
}
lazy val commonSettings = Seq(
githubOwner := "hyperledger",
githubRepository := "identus-keycloak-plugins"
)
lazy val oid4vciPlugin = (project in file("."))
.settings(commonSettings)
.settings(
name := "identus-keycloak-oid4vci",
libraryDependencies ++= Seq(
"org.keycloak" % "keycloak-core" % V.keycloak % "provided",
"org.keycloak" % "keycloak-common" % V.keycloak % "provided",
"org.keycloak" % "keycloak-adapter-core" % V.keycloak % "provided",
"org.keycloak" % "keycloak-saml-core" % V.keycloak % "provided",
"org.keycloak" % "keycloak-saml-core-public" % V.keycloak % "provided",
"org.keycloak" % "keycloak-server-spi" % V.keycloak % "provided",
"org.keycloak" % "keycloak-server-spi-private" % V.keycloak % "provided",
"org.keycloak" % "keycloak-services" % V.keycloak % "provided",
)
)
lazy val root = (project in file("")).aggregate(oid4vciPlugin)
// ############################
// #### Release process #####
// ############################
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations.*
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runClean,
runTest,
setReleaseVersion,
ReleaseStep(releaseStepTask(oid4vciPlugin / Compile / packageBin)),
publishArtifacts,
setNextVersion
)