-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsettings.gradle.kts
166 lines (137 loc) · 6.82 KB
/
settings.gradle.kts
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
rootProject.name = "cohort"
include(
"cohort-api",
"cohort-aws-dynamo",
"cohort-aws-s3",
"cohort-aws-sqs",
"cohort-aws-sns",
"cohort-dbcp",
"cohort-elastic",
"cohort-flyway",
"cohort-hikari",
"cohort-jedis",
"cohort-kafka",
"cohort-ktor",
"cohort-lettuce",
"cohort-liquibase",
"cohort-log4j2",
"cohort-logback",
"cohort-micrometer",
"cohort-mongo",
"cohort-pulsar",
"cohort-rabbit",
"cohort-vertx",
)
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" }
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
val coroutines = "1.8.1"
library("coroutines-core", "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines")
library("coroutines-jdk8", "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines")
val slf4j = "2.0.14"
library("slf4j-api", "org.slf4j:slf4j-api:$slf4j")
library("slf4j-simple", "org.slf4j:slf4j-simple:$slf4j")
val tabby = "2.2.11"
library("sksamuel-tabby", "com.sksamuel.tabby:tabby-fp:$tabby")
val micrometer = "1.13.2"
library("micrometer-core", "io.micrometer:micrometer-core:$micrometer")
val hikari = "5.1.0"
library("hikari", "com.zaxxer:HikariCP:$hikari")
val flyway = "10.17.0"
library("flyway-core", "org.flywaydb:flyway-core:$flyway")
val kakfa = "3.8.0"
library("kafka-client", "org.apache.kafka:kafka-clients:$kakfa")
val lettuce = "6.4.0.RELEASE"
library("lettuce-core", "io.lettuce:lettuce-core:$lettuce")
val liquibase = "4.29.1"
library("liquibase-core", "org.liquibase:liquibase-core:$liquibase")
val jedis = "5.1.4"
library("jedis", "redis.clients:jedis:$jedis")
library("rabbitmq", "com.rabbitmq:amqp-client:5.21.0")
library("dbcp2", "org.apache.commons:commons-dbcp2:2.12.0")
library("pulsar-client", "org.apache.pulsar:pulsar-client:3.3.1")
val mongo = "5.1.2"
library("mongodb-driver-sync", "org.mongodb:mongodb-driver-sync:$mongo")
library("mongodb-driver-coroutine", "org.mongodb:mongodb-driver-kotlin-coroutine:$mongo")
library(
"elasticsearch-rest-high-level-client",
"org.elasticsearch.client:elasticsearch-rest-high-level-client:7.17.23"
)
library("elasticsearch-java", "co.elastic.clients:elasticsearch-java:8.14.3")
val awssdk = "1.12.767"
library("aws-java-sdk-dynamodb", "com.amazonaws:aws-java-sdk-dynamodb:$awssdk")
library("aws-java-sdk-s3", "com.amazonaws:aws-java-sdk-s3:$awssdk")
library("aws-java-sdk-sns", "com.amazonaws:aws-java-sdk-sns:$awssdk")
library("aws-java-sdk-sqs", "com.amazonaws:aws-java-sdk-sqs:$awssdk")
val log4j2 = "2.23.1"
library("log4j2-api", "org.apache.logging.log4j:log4j-api:$log4j2")
library("log4j2-core", "org.apache.logging.log4j:log4j-core:$log4j2")
library("log4j2-slf4j2-impl", "org.apache.logging.log4j:log4j-slf4j2-impl:$log4j2")
val ktor = "3.0.0"
library("ktor-client-apache5", "io.ktor:ktor-client-apache5:$ktor")
library("ktor-server-host-common", "io.ktor:ktor-server-host-common:$ktor")
library("ktor-server-netty", "io.ktor:ktor-server-netty:$ktor")
library("ktor-server-test-host", "io.ktor:ktor-server-test-host:$ktor")
val logback = "1.5.6"
library("logback-classic", "ch.qos.logback:logback-classic:$logback")
library("logback-core", "ch.qos.logback:logback-core:$logback")
val jackson = "2.17.2"
library("jackson-core", "com.fasterxml.jackson.core:jackson-core:$jackson")
library("jackson-module-kotlin", "com.fasterxml.jackson.module:jackson-module-kotlin:$jackson")
val kotest = "5.9.1"
library("kotest-datatest", "io.kotest:kotest-framework-datatest:$kotest")
library("kotest-junit5", "io.kotest:kotest-runner-junit5:$kotest")
library("kotest-core", "io.kotest:kotest-assertions-core:$kotest")
library("kotest-json", "io.kotest:kotest-assertions-json:$kotest")
library("kotest-property", "io.kotest:kotest-property:$kotest")
library("kotest-ktor", "io.kotest.extensions:kotest-assertions-ktor:2.0.0")
val kotestTestContainers = "2.0.2"
library("kotest-extensions-testcontainers", "io.kotest.extensions:kotest-extensions-testcontainers:$kotestTestContainers")
library("kotest-extensions-testcontainers-kafka", "io.kotest.extensions:kotest-extensions-testcontainers-kafka:$kotestTestContainers")
library(
"kotest-extensions-testcontainers-elastic",
"io.kotest.extensions:kotest-extensions-testcontainers-elastic:$kotestTestContainers"
)
library("kotest-httpstub", "io.kotest.extensions:kotest-extensions-httpstub:1.0.1")
library("kotest-extensions-clock", "io.kotest.extensions:kotest-extensions-clock:1.0.0")
val testContainers = "1.20.1"
library("testcontainers", "org.testcontainers:testcontainers:$testContainers")
library("testcontainers-postgresql", "org.testcontainers:postgresql:$testContainers")
library("testcontainers-rabbitmq", "org.testcontainers:rabbitmq:$testContainers")
library("testcontainers-elasticsearch", "org.testcontainers:elasticsearch:$testContainers")
library("testcontainers-mongodb", "org.testcontainers:mongodb:$testContainers")
library("testcontainers-kafka", "org.testcontainers:kafka:$testContainers")
val vertx = "4.5.9"
library("vertx-core", "io.vertx:vertx-core:$vertx")
library("vertx-web", "io.vertx:vertx-web:$vertx")
library("vertx-kotlin", "io.vertx:vertx-lang-kotlin:$vertx")
library("vertx-coroutines", "io.vertx:vertx-lang-kotlin-coroutines:$vertx")
library("vertx-micrometer", "io.vertx:vertx-micrometer-metrics:$vertx")
bundle(
"testing", listOf(
"kotest-datatest",
"kotest-junit5",
"kotest-core",
"kotest-json",
"kotest-property",
"kotest-ktor",
"kotest-httpstub",
"kotest-extensions-clock",
"kotest-extensions-testcontainers",
"kotest-extensions-testcontainers-elastic",
"kotest-extensions-testcontainers-kafka",
"testcontainers",
"testcontainers-postgresql",
"testcontainers-kafka",
"testcontainers-mongodb",
"testcontainers-elasticsearch",
"testcontainers-rabbitmq",
"ktor-server-test-host",
)
)
}
}
}