|
1 | 1 | import sbt.*
|
2 | 2 | import sbt.Keys.*
|
3 | 3 |
|
4 |
| -object Dependencies { |
| 4 | +object Dependencies: |
5 | 5 |
|
6 | 6 | // dependency Versions
|
7 | 7 | // 00-docs
|
8 | 8 | // - Laika Plugin
|
9 | 9 | // 04-helper
|
10 |
| - val osLibVersion = "0.11.3" |
| 10 | + val osLibVersion = "0.11.3" |
11 | 11 | // 01-domain
|
12 |
| - val openapiCirceVersion = "0.11.7" |
13 |
| - val tapirVersion = "1.11.14" |
14 |
| - val ironCirceVersion = "2.6.0" |
15 |
| - val mUnitVersion = "1.1.0" |
| 12 | + val openapiCirceVersion = "0.11.7" |
| 13 | + val tapirVersion = "1.11.14" |
| 14 | + val ironCirceVersion = "2.6.0" |
| 15 | + val mUnitVersion = "1.1.0" |
16 | 16 | // 02-bpmn
|
17 | 17 | // -> domain
|
18 | 18 | // - osLib
|
19 | 19 | // 03-api
|
20 | 20 | // -> bpmn
|
21 | 21 | val typesafeConfigVersion = "1.4.3"
|
22 |
| - val scalaXmlVersion = "2.3.0" |
| 22 | + val scalaXmlVersion = "2.3.0" |
23 | 23 | // - mUnitVersion
|
24 | 24 | // 03-dmn
|
25 | 25 | // -> bpmn
|
26 |
| - val sttpClient3Version = "3.10.3" |
27 |
| - val dmnTesterVersion = "0.17.9" |
| 26 | + val sttpClient3Version = "3.10.3" |
| 27 | + val dmnTesterVersion = "0.17.9" |
28 | 28 | // - mUnitVersion
|
29 | 29 | // 03-simulation
|
30 | 30 | // -> bpmn
|
31 |
| - val testInterfaceVersion = "1.0" |
| 31 | + val testInterfaceVersion = "1.0" |
32 | 32 | // - sttpClient3
|
33 | 33 | // 03-worker
|
34 | 34 | // -> bpmn
|
35 | 35 | // -mUnitVersion
|
36 |
| - val chimneyVersion = "1.7.3" |
| 36 | + val chimneyVersion = "1.7.3" |
37 | 37 | // --- Implementations
|
38 | 38 | // 04-helper
|
39 |
| - val sardineWebDavVersion = "5.12" |
| 39 | + val sardineWebDavVersion = "5.13" |
40 | 40 | // 04-worker-c7spring
|
41 | 41 | // -> worker
|
42 |
| - val camundaVersion = "7.22.0" // external task client |
43 |
| - val jaxbApiVersion = "4.0.2" // needed by the camunda client 7.21?! |
44 |
| - val scaffeineV = "5.3.0" // caching |
45 |
| - val zioVersion = "2.1.15" // zio |
| 42 | + val camundaVersion = "7.22.0" // external task client |
| 43 | + val jaxbApiVersion = "4.0.2" // needed by the camunda client 7.21?! |
| 44 | + val scaffeineV = "5.3.0" // caching |
| 45 | + val zioVersion = "2.1.15" // zio |
46 | 46 | // - sttpClient3
|
47 | 47 |
|
48 | 48 | // --- Experiments
|
49 | 49 | // 04-c7-spring
|
50 | 50 | // -> bpmn
|
51 |
| - val camundaSpinVersion = "7.22.0" |
| 51 | + val camundaSpinVersion = "7.22.0" |
52 | 52 | // camunda // server spring-boot
|
53 | 53 | // 04-c8-spring
|
54 | 54 | // -> bpmn
|
55 |
| - val scalaJacksonVersion = "2.18.2" |
56 |
| - val camunda8Version = "8.5.16" |
57 |
| - val springBootVersion = "3.3.8" |
58 |
| - val nettyVersion = "4.1.117.Final" |
| 55 | + val scalaJacksonVersion = "2.18.2" |
| 56 | + val camunda8Version = "8.5.16" |
| 57 | + val springBootVersion = "3.3.8" |
| 58 | + val nettyVersion = "4.1.117.Final" |
59 | 59 | val swaggerOpenAPIVersion = "2.1.25"
|
60 | 60 | // examples
|
61 |
| - val h2Version = "2.3.232" |
62 |
| - val twitter4jVersion = "4.1.2" |
63 |
| - val groovyVersion = "3.0.23" |
| 61 | + val h2Version = "2.3.232" |
| 62 | + val twitter4jVersion = "4.1.2" |
| 63 | + val groovyVersion = "3.0.23" |
64 | 64 |
|
65 |
| - lazy val jaxbApiDependency = "jakarta.xml.bind" % "jakarta.xml.bind-api" % jaxbApiVersion |
| 65 | + lazy val jaxbApiDependency = "jakarta.xml.bind" % "jakarta.xml.bind-api" % jaxbApiVersion |
66 | 66 | lazy val scaffeineDependency = // token caching
|
67 | 67 | "com.github.blemale" %% "scaffeine" % scaffeineV // caching
|
68 | 68 |
|
69 | 69 | lazy val tapirDependencies = Seq(
|
70 |
| - "com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % tapirVersion, |
71 |
| - "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion, |
72 |
| - "com.softwaremill.sttp.tapir" %% "tapir-redoc-bundle" % tapirVersion, |
| 70 | + "com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % tapirVersion, |
| 71 | + "com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion, |
| 72 | + "com.softwaremill.sttp.tapir" %% "tapir-redoc-bundle" % tapirVersion, |
73 | 73 | "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % openapiCirceVersion,
|
74 | 74 | // "io.circe" %% "circe-generic" % circeVersion,
|
75 |
| - "io.github.iltotore" %% "iron-circe" % ironCirceVersion, |
76 |
| - "com.softwaremill.sttp.tapir" %% "tapir-iron" % tapirVersion |
| 75 | + "io.github.iltotore" %% "iron-circe" % ironCirceVersion, |
| 76 | + "com.softwaremill.sttp.tapir" %% "tapir-iron" % tapirVersion |
77 | 77 | )
|
78 | 78 |
|
79 |
| - lazy val camunda7workerDependencies = Seq( |
| 79 | + lazy val camunda7workerDependencies = Seq( |
80 | 80 | "org.camunda.bpm.springboot" % "camunda-bpm-spring-boot-starter-external-task-client" % camundaVersion,
|
81 |
| - "org.springframework.boot" % "spring-boot-starter-oauth2-client" % springBootVersion, |
82 |
| - "org.springframework.boot" % "spring-boot-starter-security" % springBootVersion, |
83 |
| - "org.springframework.boot" % "spring-boot-starter-web" % springBootVersion, |
84 |
| - "net.minidev" % "json-smart" % "2.4.10", // due to problems |
| 81 | + "org.springframework.boot" % "spring-boot-starter-oauth2-client" % springBootVersion, |
| 82 | + "org.springframework.boot" % "spring-boot-starter-security" % springBootVersion, |
| 83 | + "org.springframework.boot" % "spring-boot-starter-web" % springBootVersion, |
| 84 | + "net.minidev" % "json-smart" % "2.4.10" // due to problems |
85 | 85 | )
|
86 | 86 | lazy val camunda7ZioWorkerDependencies = Seq(
|
87 | 87 | "org.camunda.bpm" % "camunda-external-task-client" % camundaVersion
|
88 | 88 | )
|
89 |
| - lazy val sttpDependency = "com.softwaremill.sttp.client3" %% "circe" % sttpClient3Version |
| 89 | + lazy val sttpDependency = "com.softwaremill.sttp.client3" %% "circe" % sttpClient3Version |
90 | 90 |
|
91 | 91 | val zeebeDependencies = Seq(
|
92 |
| - "org.springframework.boot" % "spring-boot-starter" % springBootVersion, |
93 |
| - "org.springframework.boot" % "spring-boot-starter-webflux" % springBootVersion, |
94 |
| - "io.camunda.spring" % "spring-boot-starter-camunda" % camunda8Version, |
95 |
| - "com.fasterxml.jackson.module" %% "jackson-module-scala" % scalaJacksonVersion |
96 |
| - )//.map(_.exclude("org.slf4j", "slf4j-api")) |
| 92 | + "org.springframework.boot" % "spring-boot-starter" % springBootVersion, |
| 93 | + "org.springframework.boot" % "spring-boot-starter-webflux" % springBootVersion, |
| 94 | + "io.camunda.spring" % "spring-boot-starter-camunda" % camunda8Version, |
| 95 | + "com.fasterxml.jackson.module" %% "jackson-module-scala" % scalaJacksonVersion |
| 96 | + ) // .map(_.exclude("org.slf4j", "slf4j-api")) |
97 | 97 |
|
98 | 98 | val zeebeJavaClientDependency =
|
99 |
| - "io.camunda" % "zeebe-client-java" % "8.7.0-alpha2" //TODO camunda8Version, |
| 99 | + "io.camunda" % "zeebe-client-java" % "8.7.0-alpha2" // TODO camunda8Version, |
100 | 100 | val zioDependency =
|
101 | 101 | "dev.zio" %% "zio" % zioVersion
|
102 | 102 | val zioSlf4jDependency = "dev.zio" %% "zio-logging-slf4j" % zioVersion
|
103 | 103 |
|
104 | 104 | // examples
|
105 | 105 | val camundaDependencies = Seq(
|
106 |
| - "org.springframework.boot" % "spring-boot-starter-web" % springBootVersion exclude("org.slf4j", "slf4j-api"), |
107 |
| - "org.springframework.boot" % "spring-boot-starter-jdbc" % springBootVersion exclude("org.slf4j", "slf4j-api"), |
108 |
| - "io.netty" % "netty-all" % nettyVersion, // needed for Spring Boot Version > 2.5.* |
109 |
| - "org.camunda.bpm.springboot" % "camunda-bpm-spring-boot-starter-rest" % camundaVersion, |
| 106 | + "org.springframework.boot" % "spring-boot-starter-web" % springBootVersion exclude ( |
| 107 | + "org.slf4j", |
| 108 | + "slf4j-api" |
| 109 | + ), |
| 110 | + "org.springframework.boot" % "spring-boot-starter-jdbc" % springBootVersion exclude ( |
| 111 | + "org.slf4j", |
| 112 | + "slf4j-api" |
| 113 | + ), |
| 114 | + "io.netty" % "netty-all" % nettyVersion, // needed for Spring Boot Version > 2.5.* |
| 115 | + "org.camunda.bpm.springboot" % "camunda-bpm-spring-boot-starter-rest" % camundaVersion, |
110 | 116 | "org.camunda.bpm.springboot" % "camunda-bpm-spring-boot-starter-webapp" % camundaVersion,
|
111 | 117 | // json support
|
112 |
| - "org.camunda.bpm" % "camunda-engine-plugin-spin" % camundaVersion, |
113 |
| - "org.camunda.spin" % "camunda-spin-dataformat-json-jackson" % camundaSpinVersion, |
| 118 | + "org.camunda.bpm" % "camunda-engine-plugin-spin" % camundaVersion, |
| 119 | + "org.camunda.spin" % "camunda-spin-dataformat-json-jackson" % camundaSpinVersion, |
114 | 120 | jaxbApiDependency,
|
115 | 121 | // groovy support
|
116 |
| - "org.codehaus.groovy" % "groovy-jsr223" % groovyVersion, |
117 |
| - "com.h2database" % "h2" % h2Version |
| 122 | + "org.codehaus.groovy" % "groovy-jsr223" % groovyVersion, |
| 123 | + "com.h2database" % "h2" % h2Version |
118 | 124 | ) // .map(_.exclude("org.slf4j", "slf4j-api"))
|
119 | 125 |
|
120 |
| - lazy val osLib = "com.lihaoyi" %% "os-lib" % osLibVersion |
121 |
| - lazy val chimney = "io.scalaland" %% "chimney" % chimneyVersion |
| 126 | + lazy val osLib = "com.lihaoyi" %% "os-lib" % osLibVersion |
| 127 | + lazy val chimney = "io.scalaland" %% "chimney" % chimneyVersion |
122 | 128 | lazy val swaggerOpenAPI = "io.swagger.parser.v3" % "swagger-parser" % swaggerOpenAPIVersion
|
123 |
| - lazy val sardineWebDav = "com.github.lookfirst" % "sardine" % sardineWebDavVersion |
124 |
| -} |
| 129 | + lazy val sardineWebDav = "com.github.lookfirst" % "sardine" % sardineWebDavVersion |
| 130 | +end Dependencies |
0 commit comments